In California, there is no way to avoid registering to vote, legal citizen or not, with their DMV in house computer when one does any type of drivers license transaction.
I’ll bet, even in CA, there is some feature in the DMV software that asks for citizenship. But it probably takes a lot of video game playing skill to find out where it is hid.