Fasting?

Past week I’ve been eating like SHIT. I want to do a detox. You think it’s okay if I just drink a gallon of water for the next couple days and no food?