Performing a pelvic exam without consent on an anesthetized woman, even for teaching purposes, is unethical and considered sexual battery in some jurisdictions.
The history of the AMA's policy on anencephalic newborns as organ donors is a living example of what medical science can do sometimes conflicts with society's support or nonsupport of those possibilities.