It does. When the electoral votes are counted, there's an opportunity to object, and then they go off and resolve the objection. I think each house votes on whether to accept or reject the ballots. I don't know what happens in the event of a deadlock.
I don't know if it has ever happened. Something like it happened in 1876, although I don't know the exact steps taken at that time. I don't know if it even got to the counting stage before a committee was set up to resolve the dispute.
The Supreme Court wasn't as powerful in 1876, so I suspect that today it would end up in the Supreme Court, in the unlikely event that any objection isn't squashed right away. At least one congressman has already said he would object. Mo somebody, from Alabama.
The very fact that a group of state legislators would endorse refusing to acknowledge election results is very, very, bad, even if the attempt fails. I didn't take coup talk seriously. In terms of the prospect of success I still don't, but that letter should never have happened, and those people should be thrown out of office at the first legal opportunity to do so. The sad thing is, they won't be.