That's what Zwift does....
Those two statements are at odds with yourself. Looks like a peleton costs 2k if you buy it outright. I don't know why anyone would do this when you have the option of:
Entry level road bike for $1000, or a "race worthy" entry level road bike for $1,500. Kickr Snap for $600. Zwift for $15/mo. Just like Peleton, Zwift has all kinds of workouts you can pick from, and you have the ability to design any and all workouts you need. Moreover, having a Kickr gives you excellent features. The first is the simulated hills, pace, etc. if desired + the realism that comes with riding around on zwift. More importantly, and unlike the Peleton, the Kickr comes with ERG mode, which is basically treadmill for bikes. If your workout calls for 5' at 380w, the Kickr just dials you at 380w and that's all you can do. If you try to pedal "slower" to make it easier it will up the torque so you're still going at the same power. Opposite if you try to pedal faster to make it harder. If you're serious about crushing workouts, that's as good as it gets.
Oh, and as a bonus you now have a decent road bike you can take for rides outside if you ever fancy. All for the price of the peleton or less depending on just what kind of bike you decide to buy.
Moral of the story: Investing in any sort of peleton or other device that isn't a smart trainer + bike is stupid.