If you'll forgive a little Thich Nhat Hahn, he once said that if you are feeling depressed, it's probably due to something you've eaten, and I generally find that's true. Of course that is referring to all the senses. In a sense, the Buddha was a great dietician, urging us to be very attentive to what we consume through the six senses, and I find his training is definitely akin to cleansing and detox、at least at the level of the gross defilements.
Kammalakkhano , bhikkhave, bālo, kammalakkhano pandito, apadānasobhanī paññāti
(The fool is characterized by his/her actions/the wise one is characterized by his/her actions/Wisdom shines forth in behaviour.)
(AN 3.2 Lakkhana Sutta)