i have only been on an opioid once (morphine, and it was being administered to me in a hospital for actual pain) and i was itchy too. as far as i know, opioids simply release a chemical that activates the itch response. exciting, huh?