Neither of these is true. You haven't posted a solution to the problem you've just tried to imagine a world where the problem doesn't exist.
So to implement your "solution" we'd need to what. Assess bladder strength in individuals then give them some sort of license to allow them to sleep in their cars?
If it's a problem then keep increasing the punishment or ability to catch perpetrators.
>ability to catch perpetrators.
How do you do this in a way that is affordable to local councils?
See this is another non-solution from you. In a perfect world we wouldn't have a problem but a perfect world is the only place where these solutions are going to solve one too.
Cameras are cheap. Hell, just a slap a bounty on footage.
>Cameras are cheap.
Paying to have people watch them isn't cheap though and it's not like with a store where you only need to check it when there is an incident you need to watch it all the time. You need people monitoring a lot of cameras all the time.
Of possible relevance: http://newatlas.com/bog-in-a-bag-backcountry-toilet-stool/24... and apparently supplies for such are called WAG Bags https://www.rei.com/product/662978/cleanwaste-wag-bag-waste-... - and they're even landfill approved and "can be disposed of in trash with regular garbage"
Edit: from the comments on the REI page, two other brands are "Biffy Bags" and "Restop Bags"
There is no good reason you shouldn't be allowed to, as long as there's no disturbance.