Actually, people on Medication Assisted Treatment (MAT) are more likely to be able to work, because they aren't spending all their time figuring out how to get their drug or withdrawing.  People literally get their lives back.  And the chance of dying  goes down about 99%.  Clearly a cost-effective treatment.