When it comes to things related to sex, such as Necrophilia, Bestiality, Rape, ect. I'd avoid writing about the act in detail but I don't think there's anything really wrong with having a character that has either done or been the receiver of one of those things. but I would put a warning...