I don't see any major city doing that anytime soon. The grid is not ready, power plants are not ready, it would cost billions to rewire everything, especially in old European towns. And even more for germany since they're shutting down coal and nuclear right now. It's not a big issue though, we should focus on getting rid of personal cars and that's something Berlin is getting slightly better at by the day.