Estonians already use a national ID card for things like e-voting and digital tax filing.

https://arstechnica.com/tech-policy/2019/03/can-ai-be-a-fair-judge-in-court-estonia-thinks-so/