A sum total of one of those box sections are mandatory. First one in act 3. The rest, yeah, they can be skipped with the correct routing. Funnily enough I have the same defence of Marble Zone's lava segments when people say they hate the waiting. Like, bruh, just jump over them. Except that one needed to get higher up in (again) act 3.