Yes, at the point where the only thing hindering free software from running on a device is the policies of the organization SELLING the device, it should be the policies that change, not the ability of software to remain free.
I choose iOS because of the walls, but I also sideload software. That sideloading is limited in the number of products I can sideload at a time, and it requires a sync connection with a computer. I kinda sorta agree with Apple’s restricting of sideloaded software to a limited number of apps, but the computer/XCode requirement could easily be solved in other ways.
The goal is to make it difficult to trick someone into installing a malicious payload; Apple should allow individuals to self-sign software and run it in a sandbox— just like they do with Progressive Web Apps.
I mean, if I can download and run a PWA of a Palm emulator from a web page, why can’t I do the exact same thing with the same levels of protection with a native app? Only thing stopping me is an Apple App Store policy.