It took Mick Jagger a while to find his feet as a songwriter as the first track he wrote fully solo for the band came a few years into The Rolling Stones' life.
As far as we can tell, the closest that Mick Jagger ever came to writing about his songwriting/sparring partner Keith Richards came in the song "Live with Me" in 1969: My best friend, he shoots water ...