This might work if SCOTUS decides that the federal election code preempts a state’s ability to decide such claims in state court, i.e., any violations can only be heard in federal court.
How would Trump’s NY convictions keep him off of the ballot in Missouri?