I feel boredom more frequently than loneliness. Work (even from my home-office) certainly helps against loneliness. And knowing what we'll be talking about (at work) reduces my social anxiety, so it's like a win-win situation (as in fighting loneliness and at the same time fighting social anxiety).