Every single law that exists is based on a moral viewpoint.
Obvious nonsense.
Which of these acts is intrinsically evil?
1. Driving on the right side of the road
2. Driving on the left side of the road
Obviously, those are examples of legitimate laws, necessary to keep peace and order.
The problem is the use of spuriously asserted "moral" rationalizations for enforcing one's sectarian preferences.