It is a very bad idea but I doubt it is unconstitutional.
**************
You maybe correct. People need to read the 12th Amendment.
The states receive votes based upon US Congressional members
but I don’t see anywhere that it specifies how each state shall vote.
I believe that is left up to each state.
It will be an interesting discussion and legal process if it
gets that far along.
The states receive votes based upon US Congressional members
______________________
This why there is such a fierce fight over the 2020 Census. From what I can tell, it is entirely possible several currently Blue states will lose Congressional seats, while a few Red States will gain, thus changing the balance of power.