No, sadly this would not work in a battle.
>Safeguard prevents the user and its allies from being inflicted with status conditions and confusion for five turns, except self-inflicted conditions (including held items).
It would have been great though :P
Source
Hope I helped!