I have no idea how peloton works but I while ago I thought about “gamified” cardio machines, treadmill, bike, rowing where you follow courses which vary in difficulty (like uphill or against currents) and the machine varies the resistance according to the scenery.