Yeah, that does make sense and I see where you are going with it for sure.
I guess what I am getting at is that the characters that Kerouac paints for us, especially Ray or Sal of Dharma Bums/On the Road aren't so much being self rightious, but having some pity for some of the folks that the characters come across.  Pity and Humility can come hand in hand.  The difference is that when the characters are looking out on the world, and seeing the people that are tied down, hung up or up tight, Ray and Sal don't say 'you suck, I rule' so much as 'Its a shame that you don't see it like I do too'
Self-righteousness is more of an exclusionary thing, but the attitude that Keroucas characters have is far more welcoming than that.  He shows these characters WANTING other folks to be as happy as his characters are.  And that isn't 'Cooler than you' or 'Self Righteous'