It’s a great idea , though the counting machine becomes a threat vector .
Counting votes isn’t really that expensive . Certainly not compared to purchasing , maintaining and securing counting machine hardware
I get that we all get paid to digitize things , so paper seems antiquated , but for many applications it’s the best solution