Article XIII (Amendment 13 - Slavery and Involuntary Servitude)
Neither slavery nor involuntary servitude, except as a punishment for crime whereof the party shall have been duly convicted, shall exist within the United States, or any place subject to their jurisdiction. affects 11
Of course, understood, I'm simply saying there's no place I've ever heard of which uses the word "slave" or "slavery" as a punishment for some crime.
And if you think about the other term, "involuntary servitude", in today's world you might say that punishment goes by the name "community service", but really, a few hours of community service at, say, a homeless shelter is a far cry from what our ancestors understood by "involuntary servitude".
Bottom line: yes, the 13th amendment allows for some form of slavery as punishment for crime, but in fact the term is not used these days so far as I've ever seen.