A Fairphone 3/4 might be your solution, definitely check it out
They said they wanted to support it for more than 5 years but the industry won’t allow it since they stop distributing the components after a few years, but they are gonna support it as far as they can AFAIK.
Everytime I am forced to use a proprietary piece of software, my head starts spinning, knowing the suffering I’ll have to bear