Why? Where exactly is the tipping point where dividends/buybacks become unacceptable? Unless you want to completely outlaw dividends and share buybacks (in which case you might as well do away with public companies), you're inherently putting the government in the position of defining completely arbitrary rules about how profitable a company is allowed to be.
Yes, that is the role of government, deciding who does and does not get a bailout based on criteria developed by policy makers, using taxpayer funds. Bailouts are not entitlements.
A key point missing is defining that criteria in advance. If your market economy rewards buybacks heavily and you didn't know it was a moral hazard, why should your company (and its employees & shareholders) suffer? I can see banning future buybacks until the gov't loan is repaid though.
Bailouts might be necessary, but they absolutely should not be expected. And if the are needed, we should take a piece of your equity for our troubles. If you don't agree to that, which is your right as a business, make do without.