I can see taxes and tariffs imposed on corporations being useful to limit the amount of certain harmful goods or to help offset the costs of externalities caused by those products. I'd still rather see companies regulated and held accountable for what they do more directly in most cases.
In my mind, the government is a heavy hammer, backed by lethal force. As such, it should be used sparingly to prevent concrete damages, enforce laws, and enforce property rights.
If a person or company is causing people real harm, that should be actionable by the government. If they are poisoning someone or killing their land, that is well within the remit.
Inversely, the government should not be a tool for optimizing society, or increasing the subjective efficiency or morality.
Government is a powerful tool, but that doesnt mean it the right tool for everything. Restraint and respecting other people's autononomy is a difficult skill to lean when you have the power to simply force compliance and "know" you are right.
Economically, there are major differences in who pays them, There are differences in impact/cost. There are also huge moral differences between subsidizing desired behavior, and penalizing undesirable behavior.
It'd result in more people eating better though (instead of just eating slightly less worse, or eating worse differently while still not getting enough healthy food) and so there'd also be savings in the cost of health care and improvements in productivity.
Taxes and benefits are extremely unequal in their application.