Techniques like Zero-knowledge proofs, homomorphic encryption and multiparty computation exists, but none of them are sufficient for elections. The security requirements are simply too complex, and we can't require that every voter manages a private keypair to issue their votes from an electronic device they can't audit.
Paper voting is safer.