Cars and trucks inherently have to have different battery packs, at minimum because they come in such different sizes. Maybe government could force the issue and only "allow" say five or six different battery packs. So, then the "filling station" has to have 5-6 times however many on hand, most of which are being charged, and some of which are charged and ready to go. That could mean 60 packs or more?
Then you have to have common connections of course. And those connections conduct a lot of current and need to be pretty well shielded. The packs are quite heavy of course, so they'd also need some kind of very heavy release and secure brackets.
I suspect inductive charging would be more practicable, even though that too has many challenges.