Why doesn't the gov tax businesses based on profit margins?

Why doesn't governments tax businesses based on their profit margins? Like higher profit margins pay higher taxes? Wouldn't this be a indirect way of price controls? What are the pros and cons?