If you dream of trying to give up smoking or going on a detox, it may be the case that your dreams will be commenting on your progress or lack of it. Dreams in which you have a cigarette and enjoy it, or indulge in a naughty-but-nice cream cake may be escapist. On the other hand, if you stubbed out your cigarette or refused the cake in your dream, you are making good progress.
Bear in mind, too, that the cigarette is often seen as a phallic symbol and it could be so in your dream; similarly, there might be another meaning to that dream detox—it may be about unhealthy attitudes, habits and emotions that are poisoning your system and not food.
[1]