It's more a luxury than anything else to have one's workout in the gym than in the house, Firt, gyms usually are paid unlike in houses where obviously it's free. Second, you need more than just time for gyms like preparations and strict scheduling, unlike in the house where we can just start and end anytime we want. Except for doctor-advised gym workouts, the home is still the better place.