Yes, migrating to electric heating and transport is possible. Over-unity fuel pumps are teh awesome, and electric transport is almost workable (but not quite yet for anything more than short distances); but we're still going to be talking about a massive increase in electricity consumption, and most countries' electrical grids can't handle that.
So, I agree with you --- coal is foul stuff, it needs to die, this is an all senses a good thing; but it's still just a small step on the path to getting off fossil fuels.