Neither an isolation transformer nor a GFCI (GFI, RCD, etc.) will help if you get between Hot and Neutral.
The isolation transformer allows the circuit to float the potential of whatever your other hand happens to be sitting on when you touch the wrong thing inside of the chassis. No current (or very little) flows and you are safe.
A GFCI doesn’t float the circuit, but does detect that current on Hot and Neutral differ by more than the trip current, and then pop the internal breaker.
The mechanisms of operation are quite different, but the protection afforded by either solution is roughly equivalent.