There’s no such thing as a “federal election”. Elections are run by the States; specifically the Legislatures of the several States.
Remember: when you go to cast your ballot you’re not voting for “Smith” for President. You’re voting for a slate of electors pledged to “Smith”, and you’re doing so only because your State Legislature chose to allow you that privilege.
The closest thing we have to a “federal election” occurs when the Electors chosen by the several States meet to cast THEIR votes.
So the question arises, can the states add further restrictions on a constitutionally mandated presidential election process like they have done with guns and free speech?
Just conjecturing that to be an elector, one must be an American State National. (8 U.S. Code § 1101)
Citizens vote, while ASN's elect.