Sure but
Price gouging is a thing but it only works during shortages, and on products that have inelastic demand (things people must have, like food staples). Once the shortage is over market pressures build to push prices and quantities back to equlibrium.
In other words, in a competitive market they can't maintain those high prices forever. If they do they make less money. Consumers will start buying cheaper generic products and the companies that fill that niche will gain market share. Other companies will start to drop their prices to gain market share back and restore their profit margins.
