There are trade organizations, metropolitan planning organizations, and quasi-government entities that write model development codes that several communities may adopt as-is, but cities and counties are all able to adopt, modify, and repeal codes as their political representation sees fit as allowed by probable interpretation of state law.
There really isn’t a way to make everyone have the same laws everywhere while having local representative government.