One thing that I worry about is that one side effect of being lonely, as noted in this report, can be depression: and this depression can lead you to isolate yourself further, only increasing the loneliness.
That said, I have another friend working for a web developer who only began full WFH during the pandemic, and now says they'll never go back. They've told me that they don't feel lonely at all. Different strokes for different folks.