I say, OK.
But it must be done by a janitor equipped with only a ball-peen hammer, a rip saw, vice grips and cable ties... while the prisoner is strapped to a ping-pong table. No sterilyzation or anaesthesia. Tape gag optional.
My #24 applies for the sex-change operation as well.