The solution is reinforced concrete walls and not any particular zoning law
People who value peace and quiet will select places to live where the neighbours don’t engage in domestic violence or otherwise do things that result in the police coming out with sirens going.