Loneliness in a foreign country can definitely cause some serious depression and at the least, a BIG dose of, "What the fuck am I doing here?"
I've seen it too many times, folks coming here (usually older folks) thinking they're going to live in 'paradise' while writing the next great American novel, after all, it does sound very romantic when you say it. Like I mentioned, it's usually older, retired folks who arrive in Costa Rica ready to fill their days doing what they always said they wanted to do but finding out the reality of the dream is much harsher than the dream itself.
The folks that come here with a plan or are starting a business usually end up leaving Costa Rica for other reasons. Running a business in Costa Rica is a day in and day out distraction and leaves little time for thinking of much else. If these people pack it up and go home, it's usually because they underestimated the time and money it takes to create a successful business- it's rarely a 'boredom' thing.
Here's a little VIDEO I did about 'Boredom in Paradise',,,with a little help from one of my expat friends, Bill, who has successfully made the move to Costa Rica after retiring and found... and FOLLOWED his passion.
TONS of Costa Rica Travel Info and VIDEOS on our website: Travel Costa Rica NOW and if you want to visit our YouTube Channel: iCostaRica24 ENjoY!