Cannabidiol, the non-psychoactive ingredient in hemp and marijuana, could treat opioid addiction, a new study says. Given to patients with heroin addiction, cannabidiol, also known as CBD, reduced their cravings for the illicit drug as well as their levels of anxiety.