I am for full bodily autonomy and find this idea revolting and scary.
A woman should be able to do as she pleases with her body so long as it is legal. Smoking and drinking are legal. Prescribed medication is legal. Over the counter medication is legal. Extreme sports are legal (well... Some lol). Eating soft cheese is legal. Etc etc.
If a woman chooses to do any of these it is her choice to do so, regardless of whether or not she is pregnant. Her pregnancy doesn't mean she loses the right to make choices for her own body and not should it.
Most pregnant women will consider their unborn when making these decisions, some will not. It doesn't matter what I think is morally right because bodily autonomy is bodily autonomy... Regardless of ethics. I can't say I believe a woman can do as she wants with her body and then set conditions on that. Then it's no longer her right to choose for herself.
If a woman does something illegal (taking illicit drugs) while pregnant then she should face prosecution for her crime, but the same as everyone else should.
Protecting the unborn via legislation is a dangerous move and one I never want to see happen. It could mean that a woman is charged with the death of her unborn child if she miscarries if she may have done something as simple as having Subway for lunch which may have caused it.
The minute that baby is born and living separately from its mother, it deserves protection, but before that point it only exists if its mother does and to remove her rights because of it is just terrifying for women everywhere.
I will do as I please while pregnant. I will decide what is a worthwhile risk and what is not. Just as I do each and every day as a mother. I don't need to fear that stupid laws like this will eventually lead to my incarceration if I do something someone else might deem risky, like eat oysters or plan to homebirth.