Yup, I'm pretty sure many software companies have done similar things. It's a bit easier on video game consoles where your software runs on the very same hardware everywhere and you can pull off more subtle tricks. There were a few commercial games that also used a similar approach [1].
[1] https://dolphin-emu.org/blog/2017/02/01/dolphin-progress-rep...