I don’t know what AC “signals” you have, but generally signals can’t supply power for a transformer. Relay with 220V coil side would work.
AC optocoupler module would be best option.
If the purpose is to sense for example when lights are on or off, transformer would work.
But if we are dealing with signals, I can find multiple reasons why it would not work and could easily also damage signal source.