Absolutely. Self-dependence is overrated anyway. If they find no buyer they'll be able make some nice infusions.
Outright prohibiting a crop obviously also serves that goal but it also weakens the states economy and could cause tensions if farmers lose profits.
And there are uses for opium besides street drugs. Opiates are used a lot in medicine.