I imagine you can do it pretty quick with minimal disconnect, but that's if you found some way to get the fuel lines to cooperate. Those are the bane of all repairs in that locale.
Dubs, I think I managed to replace a gasket in roughly 1/2 hour with some tear down, PRE-S/C. Post S/C.... not so much. Took me nearly 2 hrs thanks to all the plumbing and added weight/bulk. 
Sadly, looks like I'll be doing it again here soon too. I FINALLY picked up one of the Rockauto gaskets which everyone here has given props to, so I am hoping this will be the end of my 171/174s.... for a while at least. Emissions testing coming up and that glaring CEL is a problem.
Gary Noonan
'01 S/C VX / '18 Forester XT