I thought the Supreme Court ruled against it?
SCOTUS has made rulings about timing of vote count. They have not ruled on the power of the state legislature to award electors despite the popular vote in the state. Fraud would be a very good reason to do so.