No, the total work is not zero.
Work Step by Step
The important point is that the reaction force does not act on the body, but on the rope. The total work ON THE BODY is due to the rope, and is nonzero. It is this positive work that increases the body’s kinetic energy.