Not very likely. In the event that a Republican candidate wins the popular vote, the Democrats will just say that this scheme is unconstitutional, or come up with some other excuse, and refuse to comply with it.
I don’t believe it’s unconstitutional but it certainly may require a approval by congress & the President.