The main reason for the secret ballot is to prevent vote buying. With the secret ballot, there's a low incentive to buy someone's vote, because there's no way to make sure they held up their side of the deal. Under your plan, candidates could offer a big multiple of the cash prize to the voter whose ballot was selected, if they win.