Government cannot legislate morality. Even God cannot legislate morality without removing freewill.
Government can legislate an environment for man that allows him to live morally.
RE: Government cannot legislate morality.
But surely, SOME morality must be legislated without society degenerating to chaos.
Starting from your principle, we must repeal laws against bank robbery. We should “allow” banks to operate, but we must not prohibit anyone from robbing them.