Going back to the topic...
Yes, rank does have privileges, since you can get your own quarters, and higher rank gets even bigger quarters. Since it is a moneyless society, at least on a Starfleet ship, that's one of the few ways we can tangibly see evidence of it. The only time we have ever seen an Ensign in the 24th century with their own quarters was Harry Kim, but he was a department head so he was the exception rather than the rule.
Point being... rank DOES have its privileges.
Neelix doesn't even belong to Starfleet, yet he has his own quarters.