That is how many people practice. Beginning to end every time. Maybe slowly, but muddle through the hard parts and blast through the easy parts. Maybe, maybe, replay a measure where you made a mistake a couple of times until you get it right exactly once and then continue.
This deliberate one-measure-until-it’s-perfect isn’t something many folks learn on their own.