Wisconsin allows it. I worked as a social worker in Wisconsin. There, a "UCHIPs" petition would need to be filed -- Unborn Child In need of Protection. If there is concrete evidence that a pregnant woman is doing something that harms her child, she can be taken into custody and a UCHIPs can be filed to hold her and protect the child. I'm not sure what other states would call this but I imagine that more than just one state in the nation has statutes making it possible.
I wish the unborn had the same rites everywhere. If I say much more, we'll be discussing a political issue that isn't allowed here - and for good reason. We could get WAAAAAAAAAAAAYYYYYYYYYYY off topic in a jiffy! :wink: