Hello Friend, Good that you are seeking a help. Yes it's right. As body and mind are interlinked, emotional disturbance like depressive can trigger weight gains. Basically your appetite, disgesion, metabolism, hormones get affected by negative thoughts due to depression.
Depression is a treatable problem if you ready to cooperate with treatment. Few lifestyle changes, dietary, excersise, self behavioral therapies along with counseling session can help you to overcome this problem.
Next Steps
Call me directly or online through Practo app for further detailed evaluation to identify and isolate the root cause for your depression and recommend suitable solution. Be positive. You will be alright soon.