The term role playing game is extremely open to interpretation, but since you asked:
I would exclude all those games where you play God, or general, or commander, or simply player 1.
Yes those are roles and they can even develop over time but lack the level of character development and...