Couple of options, although they are more fitness retreats than “detox..” ones that I know of include Fresh Start in Chiang Mai, Gym Bangarang also in Chiang Mai, Titan Fitness in Phuket and Palapon in Hua Hin..
I’m sure there are many others all with varying levels of intensity but any of the above would be a good starting point.
Hope the above helps