Yes, that my mentioned "secondary dominant" aspect is only ONE(!) of numerous choices to change (if needed/when needed) chord progression for the jam session. One of numerous only.
It's truly amazing that nobody's mentioned the Rhythmic part, the FORM but so much IMPORTANCE of some chord changes when the bass player decides?
Nobody's has even touched that subject (my favorite) of Developing the bass line like any other composition.
Usually, I would propose to my band some well-known songs/compositions but in a completely - rhythmically-changed (!!!) - genre.
See below.
Even if the harmony and form remain the same, the bass player can have amazing freedom with the groove. In some circles it is common to completely change styles from swing, to samba, to waltz, to reggae, to boogie, to funk, to rock....whatever your heart desires. Course this usually works better if it's not a total surprise.
At the OPs level of experience, I would recommend playing around with simple rhythm variations rather than drastic style changes.
Also if there are cool basslines that you like, you can expand and jam on those. Back in the 90s I made up an extended groove that was probably inspired by the theme of a crappy Sci Fi show called Misfits of Science. I didn't have any idea what the chords were, but it usually didn't take long for good musicians to figure it out.