Well you can build Linux from scratch if you want to create your own. And RISC hardware is opensource, and gaining adoption.
But at least with Fairphone they have built it so that you don't need google android or derivatives, you can install Ubuntu Touch OS.
With Ubuntu you have access to the worlds store of Linux apps, you don't have to rely on apple or Google restrictions