The Thirteenth Amendment forbade slavery and involuntary servitude, “except as punishment for crime whereof the party shall have been duly convicted.”
https://www.theatlantic.com/business/archive/2015/09/prison-...
https://www.theatlantic.com/business/archive/2015/09/prison-...
Here are a few of the other exceptions:
https://onlabor.org/when-is-forced-labor-consistent-with-the...
Sorry about what happened to you. Terrible.
So if making a profit is the purpose it is illegal?