Depends I think on what side you need to shim.. If its between the split pin washer and rocker then use you can do it in situ.. if you need to shim the other side of the rocker (if you get my drift) the rocker would need to slide off the shaft and to do that you would need to release the push rod from the rocker.... you may be lucky and have just enough adjustment there to fully loosen the rocker ball... remove the nut totally and fully unscrew the adjuster and see if the ball pops out off the push rod. I wouldn't leaver the push rod though tempting as this may be or you might bend it
Apply pressure on the valve cap and depress the spring to release the rocker.
I was once asked to look over a 60,000 mile prospective Mini purchase, and when I removed the oil filler cap to see if it was white and yucky inside, it was stuffed full of old nylon tights to deaden the sound of unserviced tappet clearance.