See http://en.wikipedia.org/wiki/Punchscan for an example of one such system which preserves the secret ballot property.
The voter must retain her vote (A or B) in human memory, which cannot be externally verified, except by brain scan, etc... but that detail is rather unsolvable.
Punchscan is a bit impractical for verifying large ballots, but large contested ballots are rare.
I wonder what (if any) pitfalls it has, other than the increased complexity and less obvious correctness (i.e. it would be hard to convince a non-mathematically inclined person that it works properly).