That’s what this case was about. The judge punted, though, and declined to say whether he was ineligible for office, saying instead, basically, that the state didn’t have any rule against insurrectionists being on primary ballots. Parties are welcome to nominate someone who might never be allowed to take office - that’s a party problem, not a state problem.