Migrating user avatars via the Jira API

I’m helping a customer migrate using the Jira API. I need to create user avatars from the originals, is this possible?