How about diabetes or mental health care, should you be allowed to opt out of that coverage it you're sure™ it's not going to happen to you? Can women opt out of most everything to do with the prostate?
On top of all of this, as another commenter explained, the marginal cost of prenatal/pregnancy/postnatal coverage isn't even all that high. The cost of managing the opt-out would probably destroy any savings you were hoping to realize.
If you are a single guy with no kids, do you also complain about property taxes funding public schools? After all you have no kids, you are paying for something you don't use. If you go single or DINK, then it is something you will never use.
Really, this is why I think single payer or just full-on nationalized health would work better in the end. Insurance is just another tax now, and there is no point to put private companies in the middle of it.
Also, if a female can go from no prenatal care to prenatal care then there going to swap from one to the other when they decide to have kids which would distort the market. In the end it's the same reason you can't get insurance with and without support for specific diseases.