I am trying to locate a story I read in the 70s; I think it was a short story but could have been a novel.
As I recall, in the story prisoners are sent to a work camp/planet. They are paid, and can purchase a ticket home, but there is a local powerfully addictive drug that they all end up spending their money on, thereby effectively sentencing themselves to life there.
It provided a powerful allegory of the human tendency to succumb to immediate easy pleasures and avoid short term discomforts that can have big future payoffs.
Thank you for any clues.