I think it does make a difference: there are tons of Android ROMs (or even Linux distros like PostmarketOS) that run on many different Android smartphones. But I don't see the equivalent for iPhones.
Isn't that because iPhones are more closed somehow? Maybe there is another reason, I don't know to be honest.
Apple already open sources their kernel.
The issue is mostly device drivers, which even on Android tend to be external binary blobs.
It kind of leaves you in the same place in my opinion