You'd think so.
Unfortunately, no. I've seen dukes do exactly that, even without the royal rank, and have enough support to get away with it.
I have seen it too. Usually as long as they aren't hurting anybody no cares. The main times it would come into play is when he/she is !@#$ing up his/her duchy when times are tough.