I've had exactly that said to me in a discussion of pollution: I.e. someone actually said that corporations should pollute to make more profit to the legally allowed extent of the law, to maximize shareholder value, and then they can pass laws to reduce the legally allowed pollution levels, rather than just instructing management to not pollute.
(My reply involved VW emissions scandal FWIW.)
If Corp A is reaping the profit while the cost is diffused then Corp A is in a far better place to influence future laws than those they are harming.
And by the same guiding principals, Corp A should influence the law to the extent allowable by law, including changes which allow them more legal influence, and remove the influence of others.
The purity and simplicity of the "Friedman position" is seductive. But I just don't think it is fundamentally valid to e.g. pollute to make money just because you're acting on behalf of someone else.
I think Friedman's point was more that 'businesses' don't make decisions, people make decisions, and there are two classes of people involved - the people who own the business(principals), and the people who run the business on their behalf (agents). His article argues that the agents should carry out the principal's wishes (which does can include ethical concerns), not their own.
"Of course, the corporate executive is also a person in his own right. As a person, he may have many other responsibilities that he recognizes or assumes voluntarily–to his family, his conscience, his feelings of charity, his church, his clubs, his city, his country. He may feel impelled by these responsibilities to devote part of his income to causes he regards as worthy, to refuse to work for particular corporations, even to leave his job, for example, to join his country's armed forces. If we wish, we may refer to some of these responsibilities as "social responsibilities." But in these respects he is acting as a principal, not an agent; he is spending his own money or time or energy, not the money of his employers or the time or energy he has contracted to devote to their purposes. If these are "social responsibilities," they are the social responsibilities of individuals, not of business.
Much of the best writing I have seen regarding the relationship between individual 'virtues' and economic growth is Deirdre McCloskey's "Bourgeois Virtues: Ethics for an Age of Commerce"
http://www.deirdremccloskey.com/academics/