Android is an open source OS mainly developed by Google (which doesn't include google apps/android closed ecosystem apps). The android OEMs may do this. But due to somewhat androids openness, I can get an android phone from other OEMs which I think would do somewhat better than this
Fairphones suck though, if you want to fix your problems. Got a Fairphone 3 after my Nokia couldn't be repaired. I got it explicitly to have a phone that can be repaired more easily. But you know what? The fucker refuses to break!