Nokia's Asha range could go a month between charging. They had support for apps, and for instance had a spotify client. They were oriented towards open standards like email, rather than closed vendor lockin solutions like gmail. An android phone without using google service is half what it could be.
Clearly, Android gives a superior user experience, but I think by providing developers with an easy, PC like programming experience, Android made a design decision that will mean it has a fraction the battery life of an OS that makes Aps behave.
And that's why people bring up Android into the conversation. Because Samsung, and not Apple, is the most profitable smartphone maker and because the pie is huge and still growing. I would have bought a Lumia if it came with Android. My wife and my friends too.
Nokia could've done many things, but it's hard to argue that them making an Android phone would have saved either Nokia, or improved the Android ecosystem. Nokia's failings go much deeper than the choice to go with Windows, (or the failure to go Android). And had they gone Android, they would've been yet another hardware vendor trying to differentiate themselves in a crowded Android field. HTC, Samsung, and Motorola are also capable of making good hardware, but unless there was some secret sauce about Nokia that would've solved all the existing shortcomings in that ecosystem, it's pointless to lovingly sigh and talk about what might've happened.