Work done by the system is neither necessarily zero nor necessarily non-zero.
If in a certain process, the pressure P stays constant, then
(Initial volume, V1 = Final volume, V2)
Hence, it is an isobaric process.
Even if P = P(V), net work done will be zero if V2 = V1. In this case, work done is zero.
If the system goes through a cyclic process, then initial volume gets equal to the final volume after one cycle. But work done by the gas is non-zero.