To a point, yes. But there is a thing called price elasticity which means you can't just jack up prices as far as you want, whenever you want. This is the same argument Republicans make against minimum wage hikes. "Then every car will cost $80,000!"
Uh, no they won't. Cars, like most goods, will be priced at whatever the market will bear.