I have this down to one line of html on the assignment, an html badge file. A reply post by learner to request and a reply post by instructor (or bot) to award.
You as instructor maintain two files. Need badge maker and issuer. Can't right 100's of files for each badge
I don't think we can spin anything up in time for your course, but will be fun playground for prototyping