Husband does this, I like going somewhere to work out because it’s more fun, though. I do lift his weights, and go to yoga classes with other people, that works. He says it was expensive to get all that stuff but it was so long ago it’s paid off.
I mostly just want to gently suggest that part of what people are getting from “the gym” is socialization, not just exercise. Which might be something you’d pay to avoid, I don’t know, but group exercise is a different experience from just lifting at home, and I enjoy it much more.
Book a long, long transatlantic or transpacific cruise that is leaving today or tomorrow morning. Bring as much as I can carry and a life straw and bunch of filters.