Of course if you give a hacker remote access to anything they're going to be able to hack it. the problem is that most voting machines are not connected to the internet so that means no remote access and assuming that they are properly guarded they're not going to be hacked.
Excuse the run-on sentence. I am testing speech-to-text software on my phone right now.