Of course. There are disputes and the matters of dispute change continually over time. My point though is that we do agree on what is detrimental to a fairly high degree. No one argues against either the illegality or the immorality of murder, assault, robbery, rape, fraud, and most of what other crime goes on. Disputes take place on the edges of this core of agreement. Disputes, I would argue, can only really happen with a significant core of agreement.
And disputes are not really a question of principles, but one of familiarity, at least in practice. This is why expliciting a principle is so difficult, because in a sense it doesn’t matter what the principle is in and of itself. Except insofar as it is a political move. Liberty, for example, is a quite valued moral and legal principle, but there many places where it doesn’t apply because everyone agrees that applying it in these places is stupid, like your liberty to drive on the left side of the road.*
The point of all this is that it is certainly not immoral to legislate morality, and as far as I can tell, in most disputes of this nature, both sides are claiming to have the moral high ground because if they didn’t, there would be no real force behind their claims.
*Again, Americocentric, but you get the point.