Yes, in a way, there are many drugs that are narcotic opiates. Opium being the main part of heroin. This site will explain some of them to you as there are many.
Prescription Opioid Narcotics and Heroin | ARPO
www.rxreform.org/prescription-opioids/similarities-to-heroin