Apple can already disable “sideloaded” apps on macOS by revoking their notarization ticket. The same process could be implemented for iOS:
> Apple can also issue a revocation ticket for apps known to be malicious—even if they’ve been previously notarized.
https://support.apple.com/guide/security/protecting-against-...
https://developer.apple.com/documentation/security/notarizin...