If you feel pain after sitting for long stretches, you may need a footrest. Depending on your height and desk and chair setup, your feet might dangle, stressing your muscles and putting pressure on nerves and blood vessels.
You can certainly buy a footrest with a rocker, but if you already have a yoga block, it can do double duty as footrest.