The federal government could require up-to-date information on residence and citizenship be provided to the IRS.
The state could then check with the IRS when a ballot is requested.
I’m not sure involving the IRS in your or my voting rights is that good of an idea.
As James Comey recently pointed out, there are thousands of embeds devoted to #resistance, even in the FBI. How do you suppose the IRS stacks up?