Just use the proper tools: isolated scopes (which is not just a battery powered scope) or differential probes. Messing around with safety ground and isolation transformer without knowing what you're doing will increase risks, not decrease them.
As so often it is about knowing what you are doing.
Isolation transformers, HV probes, differential probes, isolated scopes and many other things are tools designed for very specific purposes. As long as you use them as intended they are pretty safe.
Once you do something stupid they will do their best to kill you. Simple as that.
The problem is usually starts with my first sentence, knowing what you are doing. That is usually pretty hard if you were not trained in the specific aspects.
Take the isolation transformer.
It will protect you against one fault, touching a hot wire. It will not protect you against a second fault, aka touching another wire. That is pretty obvious. It will also circumvent the RCD device you may be using on your bench. As far as it is concerned the current that goes into the isolation transformer comes back via neutral and it will not trigger.
Really, knowing the pitfalls of your tools is essential.