If they weren’t illegal up until 1982, they were greatly frowned upon, and most companies did not do it, but the Reagan era ushered in a new period. of manipulation.
https://boomersbrokeamerica.com/stock-buybacks-illegal-1982-...
https://www.investmentwatchblog.com/stock-buybacks-have-only...
Even with qualified dividends buybacks are much better from a taxation perspective because shareholders aren't being forced to take the income.
Buybacks will select for frequently traded shares that have little gains, as well (this is just another way to say the above).
Ofc the elephant in the room w.r.t. capital taxation is tax advantaged retirement accounts, which have much, much higher contribution caps than was ever intended (how many people can save 80k net per year? Not many). Something like 75% of all public equity (by value) is held in advantaged accounts and exempted from capital gains taxes completely.
So yeah, that is actually the one area where they’re not equivalent to dividends, tax treatment. Though that’s changed in the last twenty years as well as some dividends are no longer taxed as individual income.