2 overall points - 1. Not enough good double blinded , placebo controlled testing on Cannabis/THC has been done. But they're coming as it becomes more legal and accepted. 2. Individual results for pain, especially chronic pain, vary greatly.Does cannabis help with migraines or other pain effectively?
Opiods are one of the all time fiascos foisted on society. Future generations will probably look back at this era as barbaric, kind of like the way we look at the past and wonder how on earth “separate but equal” was ever a thing. Sadly, big Pharma has been enabled to blame victims who often aren’t the brightest or most educated.
Cannabis/THC is pretty weak in relieving acute pain, and the acute pain component of chronic pain. But chronic pain has so many layers up and beyond the literal pain sensation. They have a good to great effect on the stress, mood, and how the person perceives the pain that it's feeling. They're very useful in nerve mediated chronic pain and cancer pains, as these create complex, multi-layered situations.
Migraines are very YMMV. There's so much variation on what works for who.