Are there instances in which opioids or opiates such as vicodin percocet or codeine are prescribed for purposes other than pain?
Yes. Codeine and hydrocodone (Vicodin) are frequently used as a cough suppresent. Sometimes in pill form and other times in elixer (liquid form). I'm not sure about percocet(oxycodone). Check with your pharmacist. And Doctors use a opiate methadone to get people off heroin Morphine and Opium powders are used as antidiarrheals, but you need to be near death to get a doctor to give them to you