Of course, that only works if you have access to a standardized, regulated supply of opioids. You can’t do it with street drugs of unknown purity.
Going cold turkey off potent opioids is a recipe for relapse, or at worst, death.
Still, the likelihood of dying from withdrawal is much, much lower than with benzos or alcohol: both of those can cause seizures in withdrawal.
But if you have access to accurately known doses that can be stepped down in small amounts you avoid all the bad things.
Remember, there's a big problem with inadequate pain control. Drug doesn't work exactly as the doctor expects, they assume drug seeking--and now you have people driven to the street to make life bearable. You're not going to "cure" an "addict" that actually needs the pain control.
Cut out all the nonsense, with addiction a valid reason there would be no drug seeking and doctors would be able to work with the patients much better.