Yes. This is what enlightenment aims for. It’s the purpose behind getting to know yourself in as great a depth s possible.
When you really know yourself, to the point of remembering you you really are and your past lives as well as current psychology, you know why you’re here, and where you’re going. Whether, when you know that, you choose to reincarnate again is then up to you.
So, I call bullshit on this misuse pf the term “karma” - this is not what it means, and I think “learning lessons” is a poor way to put it.
I think what beings do, broadly in every kind of manifestation of being, is build experience. Experience can bring learning but not always and they’re not the same thing. So saying we’re all here learning is oversimplified imo.
What you have is emotional attachments and patterns of energy you built as you go, which make what you attract to you and the probability of people and places being around you greater or smaller. This steers your experiences, but it’s a misuse of the concept to imply karma is some kind of punishment, and mostly am abusers excuse to blame the victim, or the victim blaming themselves.
This is also experience though, so that’s also in your own purview to understand, know yourself and change if you choose. These are things you have not who you are, that is important to know.
So here:
You don’t have to. It’s also a valid experience to abandon whatever you’re up to here and do something else. But if you knew why you were doing it you might not choose to.
The issue here is knowing how. We get here, get a memory wipe and with that lose the knowledge of the techniques. We have to rediscover them though whatever drips and drabs of mystery school teachings were not obscured to get some clues, and a massive amount of personal exploration.
I discovered I came back after my last life was supposed to be my last incarnation as human already. I did it because of a love attachment to my husband who was taken from me too early, and I spent the rest of my life strongly manifesting that I “would do anything to get him back”. Including reincarnate apparently. That worked but was it worth it. No it’s a stupid emotional attachment that doesn’t play out the same in a new life - till death do us part is a phrase for a reason. But the person I was then was not a mage and didn’t know herself or any of this. I did it to myself.
Bottom line: know yourself. It’s a major hermetic principle and the key to the rest of all of it.