Is there a way to replicate the effects of root motion while using flipbooks?

I am wondering if there’s already a known or standard solution for replicating how root motion allows an animation to control character movement, but with Flipbooks, which currently don’t seem to have any such option from what I could see. Being able to do such a thing would make my current project much simpler, where I’m having 2d characters climb over ledges at set heights (such as climbing on top of a box).