The problem is that it is supposed to be up to state legislatures to set the laws with regards to elections for federal office - not the state Secretaries of State or state courts.
Yes but even state legislature can’t pass laws that break federal law, or legalized fraud.