A DIY setup can work very well, even better IMHO than the Peloton bike. From cheap to expensive:
With a DIY setup, the only thing you would be missing out on is the leaderboard, but since power numbers are unreliable on Peloton bikes (-/+10% even on the Bike+), the leaderboard is actually pretty meaningless.