Being coerced into voting for a certain party is a whole different problem, with different actors. You're not going to run the election again when the spouse of someone pressured them into voting against their will. How would you even want to prove it had happened in the first place? There's not going to be a paper trail without giving up voter secrecy, which is yet another problem.
For voting you don't need to order or timestamp anything, so blockchains are mostly irrelevant.
Historical accounts seem like a good place to start.
He verifies that your hash corresponds to the vote he purchased, and pays you the money (or doesn't beat you up, fire you, etc. I'm using "sell" in the generic coercion sense)
The grandparent proposes a perfect counting guarantee, at the cost of providing every voter and coercer a crypto proof of the ballot value, a very bad compromise.
Real world security works on "just hard enough not to be worthwhile", not absolute guarantees.