There's a thing called the
Pinephone, but I have no personal experience with it.
I think the key word in your questions is "viable." Android and iOS have such dominance that any competitor is unlikely to achieve more than niche market status any time soon.