The engine is open source isn't it? They can't stop you from downloading the source and compiling it, right?
The unreal game engine itself shouldn't have anything that apple dislikes.
[1] https://www.washingtonpost.com/video-games/2020/08/17/apple-...
[1] https://www.forbes.com/sites/paultassi/2020/08/18/does-apple...