Sure. Unless you prefer autocratic rule by a moral paragon, democracy involves doing what people want, not what is moral. Often what is nominally moral is not good for the country or its people.