Getting DOOM to run on devices is a bit of a past-time to some folks. A recent product hunt offering has a DOOM captcha available.
DOOM can run on a fridge, a pregnancy test, or a printer. This is partially because DOOM was written run on Intel 8086 PCs with limited to know graphics processing abilities. Compared to current computing power, it requires a miniscule amount of technical capabilities to run - at least compared to software like modern web browsers.
Much of this has to do with how the internals of DOOM works! If you’d like to learn more about that, there’s always the Game Engine Black Book on DOOM!
Then you can figure out how to run DOOM in DOOM.