In Europe (at least in Germany) we already have a lack of truck parking spots along many routes. And that's with parking spots that are just a bit of Asphalt and maybe a portapotty, or big asphalt parking lots attached to a rest stop
If we had enough chargers that any trucker could pull into a truck stop at their prescribed rest period and find a free charger, electrifying trucks would indeed be a no-brainer. But in the world we currently live in we don't have enough chargers to make that reliable. We barely have enough non-electified parking spots, and in your world they would all have to be electrified as well. It's a mix of a chicken-and-egg problem on the commercial side and a lack of will on the government side
But there is never a lack of will from the government to try all kinds of pilot programs that look cool but are mostly caused by the need to somehow sidestep the lack of sufficient charging infrastructure
I guess the problem is that they don't charge for these parking spots, hence they are underprovided?
I have driven a lot in Europe and a lot in the night (I like to avoid traffic jams and use the no speed limit on the autobahn), I have to say that this does almost exclusively belong to Germany in my experience. Which makes perfect sense because Germany is in the center, has a lot of truck traffic and long autobahns so it makes sense the parking lots are limited. I have not seen this in any other country other then quite exclusive circumstances.