Course it is!!!!!
I always return greetings, if I'm not the first one to it.
I always assume that if the pillion doesn't offer one then they're too busy hanging on tight :D
However, I learned the hard way that it is NOT acceptable for a bored pillion to do the YMCA dance while stopped at traffic lights!!!!
It's OK when I'm on my own bike, though