No, some people have $2,000+ road bikes that have never seen the road or been outside. They just set them up on a trainer with sensors ([1][2][3]) in their living room.
No idea why they would spend US$2,000+ on them, most of this price is for improvements on weight and drag reduction, if you aren't moving the bike then there isn't really a point. Except for the wheels and tyres as rolling weight has some impact on your pedalling, I really don't understand.