What do you think was behind the lack of motivation to get to the gym? The time commitment to get there and back, perhaps, or the hours the gym is open?
I ask because for the monthly cost of the Peloton subscription, I have an actual gym membership (and this is in Norway, where things tend to be quite expensive). It's less than a 10 minute walk from home, and it obviously gives me a lot more choices in terms of equipment. It does not, however, offer classes - which for me is actually a selling point, since no classes means fewer crowded times.
At the end of the day, whatever works to get you to work out is what works for you, but it seems like a very high costs for something that offers you very limited workout options.