Sure he was. If Nixon thought otherwise he could have done something and he didn’t. Was George Bush really elected President or Biden? The problem is the Constitution does have a clear remedy to this problem and that is why Trump is where he is.
Even JFK joked about “winning” by cheating, and that his father bought it for him.
The constitution has no remedy when the cowardly Robert’s court won’t do its job.