The short answer is - yes it's probably doable. This guide is for doing it on the XC70 2005 with D5 engine. But it is in a tight spot, so you should at least remove the cover around ECM/TCM. The best thing is to also remove the ECM/TCM-computers. You will need a special tool to remove the computers.
To unscrew the pulley you probably also need a special tool set like this:
Then you replace the pulley with a new one by doing the same thing in the reverse order.