You can replace the worm with the engine in, but you will need to remove the LHS engine mount and bracket, plus the adapter block from the side of the gearbox. You will then see the cover plate held in with two 1/4"unc screws. Remove that extract the 5 tooth and replaced with a 6 tooth...
and if you don't have one....
That's great. And your worm drive's a LOT cheaper than minispares. If I have a go at this, I should be able to pick up both the worm and pinion from you. Don't suppose you can do a decent speedo cable too?
Idiot questions now:
1) LHS engine mount - when looking at the front of the car, or sitting in it? (see? idiot) Guessing this is to get a bit more access, whichever side it is?
2) Adaptor block.... I straight up have no idea what this is. Sorry.
At least the cover plate makes sense. I spotted that on diagrams earlier.
How many Haynes spanners you reckon this is?