In some countries it is allowed to vote, but your employer or landlord may request you to prove to you that you voted for the „right“ guy by sending them a picture of your filled out ballot.
A feature like this (properly implemented) could actually be great for those countries.
The slippery slope argument still applies of course.