Apple already has their own way, and they rather have studios rewrite the games.
https://developer.apple.com/games/game-porting-toolkit/