The 13th Amendment doesn't prohibit it, the way it prohibits (most forms of) chattel slavery. But there's nothing preventing Congress (or state legislatures) from passing laws prohibiting it.
It'd be pretty hard to extract from the 13th amendment a constitutional right to put prisoners to unpaid work.
Furthermore, it's a myth that only for-profit prisons that profit from it - state-owned prisons also profit off the system to the same extent.
Fair, I had forgotten the "except... shall exist wording"
> state-owned prisons also profit off the system to the same extent
Also fair, but I'd expect the private prisons to be the ones to sue states.
Maybe, but at the moment the LEO/correctional officer unions are the ones actively lobbying to prevent laws like these from passing in the first place.