Of course you can. Even mainstream commentators agree with me on this one; they have a term for it: "illiberal democracy" [1].
In any case, I would make the stronger point that you can't really have freedom with democracy.
[1] The Rise of Illiberal Democracy, Fareed Zakaria, Foreign Affairs, November/December 1997