It's viable, the image can be stored in the save file as base64. It might be necessary to limit the image size to avoid a too large file, though.
When you play this game in the browser the save files are stored locally, nothing related to players is saved in the server.