It's probably unconstitutional, and a judge may well say this. However, the aim of pro-lifers is to appeal all the way to the Supreme Court, where they hope the Trump appointed conservatives may annul Roe vs Wade. Or they may declare states' rights, so that each state can determine their policy on abortion. In other words, red states will ban it, blue states allow it. Scary times.