I think we both know perfect privacy is cost prohibitive at the local and state levels and largely a talking point that ends with the listener assuming it is impossible to achieve online voting with perfect privacy in our lifetime.
If we can't afford to change the way people vote then why not change the way we measure it so its not so cost prohibitive?
Between exit polls, aggregate voter data held by the national parties, private and public data sources it is already possible to accurately predict the outcome of most elections.
Its already being used by national parties as the foundation for when and where they choose to challenge election results and allocate resources.
There is no such thing as a, "Secret Ballot" with modern analytics. There are just those who can afford to find out how you vote and those who can't.
Those who can't in today's world includes regulators and the government themselves.