During the inception of medical sciences, most of the work was experiment on human guinea pigs. Humans at death bed were injected with antibiotics or whatever. If they recoup it was triump of medicine. The aim was to relieve a patient from pain and misery. So should it be.
Where does moral dilemma comes into picture ? The moment a doctor in the making picks his/her spatula (hope that's what it is called) to dissect a dead human body he/she surpasses all ethics BUT for a good cause.