It could yes, but sugar is another poison that can cause depression. Gluten and sugar are the worst culprits, though tough to excude due to the addictive nature and the longing of the yeast inside the body to consume them, giving you a sense of continual hunger.

People can go either way, overweight or underweight, both are imbalances and usually signs of toxicity, yeast and lack of nutrition, due to the toxicity and candida not allowing proper absorption of nutrients, thus you gain weight, but you're not really getting what you need (or become underweight). I've had both, gone either way for me.

When you lose the gluten, sugar and yeast, the weight can actually start to literally drop off you (or in the underweight, they can slowly begin to gain a little).

For me, when I was more overweight, I went on that diet and the weight and bloat just fell away, I became a more normal weight. But another time, I went underweight, so had to go off them to gain a bit.

It's interesting how the body shows lack of nutrition and illness in different ways.

So you will need to simply do it, in order to find out how it will effect you and your mind. For me, the depression lifted at that time. It was amazing actually.