I have a Golf Mk 2 petrol with a gearbox that sounds like a bag of nails!!

Even I know thats not good!!
I also have a Mk2 GTD gear box or a Mk3 TD gear box.
Would I be able to put either of these in my petrol Mk 2??? As I'm having trouble tracking down a suitable Mk2 petrol gear box.
R xx