The planning aspect should be a plan NOT to be lonely. It can be done like you have, by being very active in your community… building a community of your own.
It also can be accomplished partially in virtual worlds. I still spend a few hours a week in Second Life. Out of style now, but a place where I still have friends.