Sounds dumb but why not just learn the bass line or pattern and apply it to your own playing?
I learnt how to octave by watching a bass cover of Duran Duran - girls on film. I was curious how it looked on the fretboard and when I watched the video I was like ahhh I see what you did there. So I practised it. Just the chorus. Got that down and could play it over and over. I loaded up the song into virtualDJ and set it to loop on the chorus and played along to it until I nailed it. Forgotten how to play it now but I still know how to octave.
Rock and roll blues stuff yeah same thing if you’re playing 12 bar blues. You get bored of root notes so eventually you work out the scales and recycle the same shape or note grouping on each string or to the appropriate fret.
For funk not that I’m any good at it whatsoever, probably worth learning a couple of tracks and picking out the key elements that you feel are funkaaaay 😬