All. The. Time.
But it comes in certain situations or plots. I find it a little uncomfortable when I RP a character that doesn't share my beliefs and then the character has to defend their beliefs (which I disagree to) and that sort of thing. It doesn't happen that drastically often, but I've done it! This teaches me to be flexible and understanding in real life, too, which I wasn't expecting from RPing.