I do think there can be a correlation, and perhaps it is partly because people of intellect "live in their head" more.
I also think there is a very strong connection between creativity, the arts and depression. Many actors, musicians, writers and painters have suffered from depression or bipolar disorder. As to why there is such a correlation, I'm not exactly sure. But the old trope of the "tortured artist" has a lot of truth behind it.