States legislators are the ones who choose electors to send to the Congress for the official vote. Technically, they can do whatever they want and ignore the votes of the people. You would need a constitutional amendment to chang be the way voting works and have the federal government control voting and elector selection requirements.
run0
is the newsudo su