How to add rotation to FirstPersonController's headbob?

Is there a way for me to use the standard asset’s head-bob but add rotation to it to add a more realistic feel? All I want to do is make it tilt side to side as well as move up and down, to add a more realistic and human-like feel.

Maybe this can help you