App instalation isn't really even the problem. It is just the capabilities you have that you do not have access to. a modern iPad can easily run macOS as an 'app', if you will. The kernel is there, the userland is there, just not the checkbox from up high. Even Xcode works well in macOS VMs nowadays.