My thesis was on digital/electronic voting (about 10 years ago)
There is an interesting problem there: How could you replace the paper ballots with a digital device? You’ll find a few benefits like a fast counting and transmitting the data without moving the ballot box to a central place.
The disadvantage is assuring the secrecy and freedom when you are voting. It’s easy with an inert paper, extremely difficult with an electronic device. How could you be sure the vote is correct if it’s secert?
I found an interesting proposal (I have to read it deeply) on how to fix this problem that has been ‘looking for a solution’ for decades:
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/11/e2e-primer.pdf