Google still allows sideloading, it’s the app developers that can prevent you from installing their app from other sources than Google Play. Sideloading an app works fine on Android if the app’s developer allows it. Apple didn’t allow that even if the app devs wanted it.