Only if it equally applies to men who get someone else pregnant out of wedlock.
Also it's supposed to be federally illegal.
The federal Pregnancy Discrimination Act of 1978 (PDA) makes it illegal for employers with 15 or more employees to discriminate against women because of pregnancy, child-birth, abortion, or medical conditions related to pregnancy or childbirth. Pregnant workers must be provided with the same benefits and accommodations and treated the same as non-pregnant workers who have similar abilities or limitations to their work.
The main thing is to remove the exemption of "light truck" for regulations that make suvs and trucks so much cheaper to manufacture for auto companies.
As for local areas, they can increase property taxes for heavy vehicles, to disentivse owning them.