That won't work, because governments that want to restrict what apps their citizens use will make a law that phones in that country must not allow sideloading.
The phone makers will either have to comply or leave that country. Either way, the people in that country do not get the app.