You could store any image in your database. Make an on click microflow on your page that retrieves that image and download it. You can also use that same microflow to check some stuff first like has the user achieved the stuff to get the badge award.
Regards,
Ronald