+ Br (who write cyberpunk 2077 fic): Being frank, going all digital with your state sounds like a critical point of failure and a security nightmare waiting to happen. That sounds like an actively bad idea no matter the potential efficiency returns.
+ Kar: All-digital anything is a big no no for me, sorry to say.
Also, human bureaucracy is only bad when you allow for it to be a career, and when 'middle management' is allowed free reign to make more of itself. 'The purpose of the civil service is to serve the civil service' is what you need to prevent, and it's not so hard - just make it a requirement in perpetuity for the next boss/king/president/whatever to gut all (or at least some) of the fake jobs that came into existence during the prior administration(s) (i.e. the jobs that create more problems and drudge work in order to justify their own existence). Ideally, you would do this for shit laws as well.
For bureaucrats, you want the minimal number of smart lazy people, because they'll actually come up with ways to improve efficiency.
Ideally, make it a side job, or part OF the job, of the other 'castes' again. As in, kings, priests, warriors and commoners should all do their own accounting, like in the old days. If it's too much, give everyone secretaries, and then purge the legal system whenever it becomes impossible for a single lawyer to handle your shit.
It won't prevent all bullshit, but it WILL prevent the bureaucracy tyranny we're in now.
.
"give everyone secretaries" being facetious, I'm against mandating that people do anything they don't choose for themselves, in case it wasn't obvious
.