There's been a lot of work done on the effects of long-term unemployment -- I'd wager that a lack of purpose drives opioid use rather than the other way around...
This isn't an isolated incident it's an all too common pattern I've seen. The cycle works: you go to work and work as hard as you can, you get hurt, you can't afford the best care option, you take the cheaper meds so you can continue working, tolerance builds up, you can't perform, then you're let go. In the end you're left broke, hurting, unemployed, and addicted.