I'd say it's ok if that woman (or her family/power of attorney) consented to it. Lots of people donate their bodies to science, but it has to be just that: a donation, not a forceful taking without consent.
So in this particular case I'd say no, it's not ok. But say if I wanted to be that guinea pig and wrote that in…