It would be perfectly viable if the drivers could be written for every OS. With SoC designs, they are written by the manufacturer though, and if they write them, why not make several different versions of the phones?
Only one who has gotten around this is "sailfish", they open source the project of writing drivers for various phones. They thusly currently support about a dozen phones.
If Microsoft opensourced a portion of their driver system, I'm pretty sure they could do this also. Of course it would be up to devs to write the drivers.
It also may be somehow possible to convert or emulate the android drivers.
Noteably windows had a project with xiaomi to convert one of their android phones to windows 10. It was a tad buggy, but it worked. Perhaps they learnt something from that experience they are not telling us yet....