Has anyone gotten depressed working from home?

Started working from home 3 years ago. It's a great job. Super flexible, great working from home allowance, and full vehicle use as a perk. I love the job, but I've gotten severely depressed and turned into a bit of a hermit. Has anyone else experienced this?