From these links, main number seems to be "Nearly 10 million Americans, or 4.1 percent of the adult population, used prescription opioid painkillers for nonmedical reasons in 2012-2013". Numbers I've seen for marijuana were about 11.5% in a year, though that was for 2001.
So certainly higher usage for marijuana, but definitely not "many orders of magnitude"
Versus the number of marijuana users, please.
* https://www.cdc.gov/drugoverdose/data/heroin.html
* http://www.cbsnews.com/news/heroin-use-in-u-s-reaches-alarmi...
* http://time.com/3946904/heroin-epidemic/
* http://www.cnn.com/2016/09/16/health/huntington-heroin/