How old is he?

Maybe this is a behavior he'll outgrow ... If your hair is long, try braiding it before bedtime, so it's not as fun to "play in!"

You aren't using catnip shampoo, are you?