Extremely difficult and illegal. Opium is a Schedule I controlled substance in Costa Rica—deemed highly addictive with no accepted medical use. The country enforces strict drug laws; possession, use, or trafficking carries severe penalties (years in prison). Police actively target drug networks.
Travelers should never attempt to acquire, carry, or use opium in Costa Rica.