Earlier quoted context omitted.
It's not that easy on Android either. Rooting usually requires a factory reset and several apps (e.g. banking) will not work if they detect the system is rooted. edit: Also, in some cases you lose warranty.
The fact that you can't install apps from your own xcode and run locally (used to be at all now I guess seven day limit) is silly. On Android, with Android 12, we can now have apps on neostore (fdroid frontend) auto update. There is no good reason to defend apple here. You as a user are always free to not install third party app stores.
...I do right now. So that isn't a fact. It's a myth.