I empathize. We have a lot in common. I don't have any real friends outside of work friends and online people. I sort of know why, but don't know how to deal with it.
My social circle always tended to be my wife's social circle or other parents. With grown kids and my wife's situation that has really changed. And like you I end up with almost nothing.
I can imagine how working from home would be. I do one day a week, but could not do it full time. I go into work often just to talk with other people as I get no joy from work any longer.
I've read about groups of older people that get together just for social events, I'm trying to bring myself to joining something like that.