Yes it would.
Someone Goldman, JP Morgan, etc, manage to fill their entering classes just fine each year. You think those companies have a stellar public reputation? No. They just pay enough to attract the kind of people they want.
If MSFT paid more, they would attract people away from other companies, they would attract people away from the banks and from the consulting firms, and they would encourage people to go into engineering instead of business or law or any of the other fields with more upside potential.
Engineering companies have this bizarre aversion to competing on salaries and competing for workers, as evidenced by all the no-poaching agreements and non-competes that go on. In banking, consulting, law, medicine, etc, salaries get bid up to deal with constrained supply. Blackstone isn't paying fresh grads $300k out of the goodness of their hearts, or because they think it's "fair" but because that's what it takes to get the kind of employees they want.