Being the electoral count is State driven, any attempt to overturn it would be considered a coup, and any govt not the net result of the votes of the electors would be illegitimate.
And the best part is that you could cite Jan 6 as clear support that any such attempt would be insurrection and an attempt to overthrow the FedGov and Constitution.