Maybe not, but in some cases it certainly helps. Losing weight through exercise realeases endorphins, and eating healthier foods stimulates the brain to produce different chemicals than it does when overweight. It might not solve all your problems, but the different, "happy" hormones allow you to further concentrate on solving your mental disorders.
If you feel better you play better
If you play better, they pay better