Government is SocietyOS. It is not the enemy.
As various App level "features" become fundamental/common they should become part of the platform. Electricity, roads, healthcare.
Laws provide guardrails for the "apps" (I.e companies etc) to function and protect the system from crashing.
Only question is "How good is your OS?"