EDIT: I just checked the App Store listing for this app - I find it pretty hilarious (and for more than one reason) that it’s listed in the Adventure category which has a pirate flag for an icon.
AppStore apps themselves are sandboxed too. You can’t execute all arbitrary code just because it’s an app.
Perhaps ScummVM is closer in concept to something like Super Mario Maker than to a full blown programming environment. You could argue that the custom content is “code” but it’s more like a limited set of actions accompanied with content.
It seems like the current bar is something like “can it plausibly run something other than pirated Nintendo ROMs”.
Very impressive (and faster than emulation, since WASM can be JIT compiled by iOS!), but not Linux :)