We have a Schwin IC4 and use the peloton app with an iPad. The bike was a fraction of the cost of the Peloton. You don’t get live classes, and it’s actually more expensive per month to have a peloton membership without the bike, but it was a much smaller investment up front.
You can still get some of the data and use the recorded classes/rides, although it is admittedly not as detailed and accurate.
It was a good way for us to see if it’s something we use enough to make a larger investment into. We got the bike over the initial Covid quarantine in March 2020, so it has held up well.