I don’t get the joke. Wouldn’t you need to study the architecture of the alien CPU to see what registers it uses if any and where data goes, and what format the data is expressed in (is it even binary?) so you can write an assembly language for it? Then you would need to write a compiler and then you could get a higher level language going and port Doom. Are we assuming that the alien computer just runs our code?
In fact, for many years now, people have been trying to make Doom run on the most ridiculous things possible (printers, refrigerators, pregnancy tests . . .) just for the heck of it. There are worse hobbies.