Learn every lick in all positions and with every fingering…That is a phrase I read many times in books and heard guitar teachers tell their pupils (be it in real life or on the internet).
I agree that knowing how to play a lick in a lot of ways can be beneficial (it is). The road you follow to do this can already be enlightening. Finding out how to play a short lick in lots of different ways can teach you a lot.
But! There are arguments against obsessing over this.