The key to detoxifying yourself is to not take anything that will toxify it. That's obvious. So it's logical to say that fasting is a good way to clear yourself of impurities. Of course, you don't have to have nothing to digest. You may still have organic juices that will help cleanse you.
That is the concept behing Moinhos-Velhos' Juice Fasting Program.