If society decides the risk of these types of behaviors is significant they could pass a law making it illegal to ask someone how they voted. For those who would violate such a law even if it existed, they are by definition criminals, and already have the ability to tell you "Give me your banking passwords, or else". Blockchain itself won't cure all the problems with humans being criminals in this world, but blockchain itself DOES cure the problem of hacker-proofing voting data.
BTW: even if the blockchain data were totally held all within local governments only, it STILL addresses at least the problem of tampering at any level other than where the information is first collected. Even if the blockchain DB doesn't go as fine-grained as per individual it still "hardens the system" considerably from hackers, in a way that paper could never do, because recounts of paper is susceptible to human miscounts (both intentional and unintentional), and blockchain is absolutely not.
Voting is the way it is specifically to combat this problem. Your solution tries to fight against a problem that is basically impossible without systematic widespread corruption by opening it up to localized corruption which is historically common. You're solution doesn't make the situation better it makes it worse.
Anyhow if you can't understand why secret ballots exist after all that explanation I'm never going to be able to explain it in a way you understand so I think we're done here.
Our current voting system IS secret ballot, and IS also ALREADY based on computer DATABASES (not paper). You fail to realize that blockchain is basically just an encryption strategy for databases. It IMPROVES database security. It has absolutely nothing to do with whether votes are kept secret or not. It ONLY has to do with whether it's technically possible to tamper with the data or not.
Bottom line is: paper ballots CAN be tampered with (whether secret or public) but blockchain cannot. Got it now?
Parents: Show us you voted for X or you are disowned.
Employer: Show me you voted for X or you are fired.
Criminal: Show us you voted for X or we'll break your knee caps.
Politician: Show me you voted for me or I won't give you that contract