Certainly not the main role! It's going to depend a lot on the style of music played.
In a couple of bands I work in, there are what I call 'listening drummers'. Not every band is lucky enough to have one!When I'm on bass, we listen to each other and complement what's happening. Yes, sometimes the bass adds pitch to the kick drum, others, I play on some but nowhere near all of the kicks. It depends a lot on the song and style. And it's not the only thing I'm listening to while on bass! There's the rest of the kit, the other guitars/keys, and also the singer!
But, at a basic level, the kick and bass will work together - provided they listen properly! Anything from a simple thump on 1 and 3 to very complex patterns woven together.
That, though, does not mean, as you intimate in your last part, that it's the main role of the bass guitar. Many of us would be offended by that concept!