In a joint answer, yes, if various conditions are put on to favour electric such as small light vehicle, short range etc, it has some viability.
But for all round independent vehicle use for passengers, goods etc, only ic does the job, and you only have to go outside to see the proof!
I'm not arguing against electric, far from it, just asking for realism since the changeover is very, very far from a no-brainer. We will have to massively change a vast number of facets of how we live our lives, and the future electric world will be almost unrecognisable from today's one.
The infrastructure to suit a world of independent electric transport for all will be so immense that I think the idea will be abandoned in favour of improved mass transport systems, more efficient and controllable. The days of the many driving to out of town shopping centres will probably end in favour of online shopping with the goods brought to us, few vehicles serving many, rather than many vehicles for the same purpose.
I don't think there's any point in continuing with old thinking about us all travelling in our own vehicles and repeating the ic engine mistake all over again, bringing with it all the attendant evils like road deaths and injuries, congestion and vehicle associated crime, to mention but a few.
.