Zoning laws say you can't have a certain type of business in a certain ZONE hence the name ZONING laws it does NOT say you can make it illegal to open ANYWHERE in the city/state.
The people of a state can establish certain criteria. Here in New Mexico, for instance, it is illegal to operate a gambling casino other than on a legitimate Native American reservation or, in a very few special cases, on government property. (We have slot machines at the State Fairgrounds here in Albuquerque for instance, but they would be illegal anywhere else in Albuquerque or in other towns/cities in the state.)
Most states outlaw commercial gambling anywhere on any property. And it is their right to do that too.
Some states pretty much throw it wide open though they reserve the right for the government to regulate and tax it.
Prostitution is illegal in 49 of the 50 states.
Drinking laws and privileges for certain other vices for minors vary from state to state.
Marriage laws vary from state to state.
If Utah or Idaho or one of the other more conservative states wanted to outlaw strip clubs, they have every right to do that.
When the Village of Tijeras near here voted to ban pit bulls within the city limits, they had every right to do that. Almost every community has certain laws about how many cats or dogs are allowable in a household or what sorts of other critters are permissable on a home or business lot within the city. Almost all states have laws about what kinds of wild animals it is legal to own and what is not.
Such laws are almost universally based on the wishes of the majority of citizens in any state, city, village, etc.
When people decide that a law is oppressive or silly or counterproductive or whatever, they have complete right to lobby or petition for the law to be repealed or changed. If a majority agree with them or at least do not object to the change, it usually gets done.