Sure we can. It's done all the time. Every law that's on the books was put there because someone thought something was wrong and needed to be illegal.
Like I said, you can not legislate morality.