RV living is not the same as homeless. There are a lot of RV people living well in their RV. There are also issues with the housing prices going through the roof and an RV is the only way to live.
But they are not the ones pooping on the street or taking over the parks.
There’s a history of local governments abusing such statutes in a number of states.
The people to whom you refer are not homeless.
For the most part they are ordinary run of the mill squatters