I found a small guitar jamming lifehack. Learn one song from tabs and look at which notes it uses. Then put on a backing track without the lead guitar, or even without vocals, and jam over the song using those same notes.

Experiment with the rhythm and the intervals you play.

Have you ever tried jamming over a song like that, instead of just learning it note for note?