Yes. If you are still sore or feel not fully regenerated, or if you just can't make it to the gym that day, you can take more rest days than prescribed. This will not diminish your gains, as long as you don't skip a training all together.
If you constantly need more rest days than expected, you might be doing too much. Try to aim for the prescribed sets, reps, weights, and RIR.