There is another way
Opiates include medication such as codeine, tramadol, morphine.
Opiates are very good for acute pain and for pain at the end of life, but there is little evidence that they are helpful for long-term pain.
The risk of harm increases substantially with higher doses of these medications, but there is no increased benefit.
Patient in chronic pain need specialist input from a chronic pain service.