Well I changed mine with the tank in place so I guess it can be done after. It's probably easier without the tank in the way though.
if you're using the original metal breather lines (which i imagine you are) then they're easy to bend around if necessary, so can be done afterwards...if you're talking about just the rubber joining hoses then it doesn't make much difference if the tank's in or out