Hey, it would be cool if you come around on discord (Link on www.eastpixel.de) to discuss this in person. I have some ideas to implement such a thing but as the code of this is opensource I am not able to make such secure-the-ROM code public because anyone could read about how it would be done.