Of course, even though such a law would be wildly inconsistent. But in politics, you have to be pragmatic and take what you can get, even if what you get has absurd contradictions like this.
The art of poltics, unfortunately, is compromise - we "accept" a certain number of traffic fatalities every year as a society - more than would ever be aborted from rape and incest.
Better than the absurd legal contradiction of the man who gets arrested if he accidentally hits a pregnant woman on her way to an abortion and kills the baby.