It works in that way, that I will likely make the mistakes again that I did not learn from.
That's not just true for me, but for most people I guess.
And the mistakes I did learn from, I won't do again.
There is enough random badness and goodness to defy the concept of Karma. Earthquakes and such. But in other aspects, yes, I think there is something that you could describe with the terminology of Karma.