Apple already made it, it's just that it targets developers rather than end users: https://developer.apple.com/games/game-porting-toolkit/