Sure, including but not limited to only therapy. For my case, Cognitive Therapy helped me a great deal with both depression and social anxiety.
It's just when you are not social, you may be reluctant to ask for help when it's actually needed the most.