What a shame that you really can't do this using an iPhone. Unless things have changed recently the closest you can come to this is using iSH to run some linux binaries (x86_32), but it's quite limited last I checked.
replies(1):
Issue is that Apple doesn’t allow apps to run JIT so if you want the JIT version of UTM, you need to sideload or Jailbreak. The non-JIT version is on the App Store.