The driveway requirement is an interesting problem. I live ~7 miles from the center of London. Driveways are very, very scarce, and I can't guarantee being able to park in front of my house due to the number of cars on my road. I also don't know how legal/practical trailing a cable from my house is.
I basically can't own a Tesla (even though I would like to!) as I would never be able to charge it.
I can't speak to the legality of the building codes where you live, but I don't see any technical reason why you couldn't have an outlet installed near the street to charge a car. It's pretty common for electricians to run conduit out to the street and install convenience outlets for things like landscape or sign lighting or powered gates.
This is un-related to the actual problem. If you live in a major city (like SF, London, NY, etc) you cannot park your car in front of your property unless you have a legal claim to the land. That will cost you somewhere around $500K.
Also, there may not be any available even then. Certain areas in europe, in particular, are not architected for vehicle co-habitation with residential real estate in urban centers. So, by all means you can own a Tesla for your country home. But it may be rather impractical for your town-house. Even in NYC, its quite normal for people who own cars to keep them garaged off-stite. Athough, presumably, this is less of an issue as over time professional parking storage businesses could make a nice secondary income stream by charging a "convenience fee" to Tesla owners. Maybe 100 to 200 a month, maybe a whole lot more more. This type of fee is what they charge currently for a Range Rover or other SUV.
Supposing that's possible, he still has no guarantee of getting that parking spot. I have a similar parking situation: when I'm lucky I get the stop in front of my apartment, other times it's taken and I end up parked 50 feet down the road.
What's the solution to this? Maybe municipal EV charging networks or people charging their cars while they're at work during the day? And if you have a charger at work, trying not to drive too far over the weekend until charging stations become more widespread?
Hopefully a combination of superchargers, EVs in public parking spaces in shopping centers (for example, to attract wealthy EV owners to shop there) and arrangements to have EV charging points near work places will serve people in this situation.
This is such a deeply unsustainable practice it would be incredibly foolish to make any long term plans based on it. Special EV charging points (with the dedicated parking that comes with them) will disappear the moment more than a handful of EVs are used. It's just not feasible to install charging points at every parking space, and once the demand for those spaces that exist outstrips supply the resulting politics will almost certainly either kill them completely or result in them becoming expensive quickly.
Perhaps councils will see them as a way to make money and start charging for the electricity they provide. Could be a nice little earner when they become popular.
Councils already have a 'nice little earner' in charging for parking permits for residents. And then there is the fines for people parking in a residential area without a permit. They are already making a ton of money from parking without having to install a single wire.
I'm 38 and have never even had a drivers license. I grew up near Oslo, Norway, and moved to London when I was 25 - it's always been so easy to just use public transport that I've never gotten around to it. Keep thinking about it, as it'd be nice to have a license for the occasional car trip for vacations etc., but it's pretty far down the list of "nice to have"'s. Can spend a lot on taxis for what a car would cost me.
I basically can't own a Tesla (even though I would like to!) as I would never be able to charge it.