And what State politician in his right mind is going to pass this? No safe State is going to give the opposing party the chance to claim its electoral votes, and no swing State is going to want Presidential attention diffused away from it. Possibly this might sneak in via a referendum in a few states, but not enough to reach the 270 electoral vote margin to make this work.
California has. So has Rhode Island, Vermont, Maryland, Washington, Illinois, New Jersey, Washington DC, Massachusetts, and Hawaii.