That requires the computer to hotswap to be plugged into a power strip. It doesn't work if the computer is plugged into the wall directly. (Well leaving aside modifying the house's electricity / opening up the wall obviously.)
Pretty ingenious, tbh. Though I'm a bit concerned about how much you end up handling energized plugs.
In these cases it's probably worth doing it though.
https://media.screwfix.com/is/image//ae235?src=ae235/38040_P...
FWIW I do not endorse doing this, just stating that its possible and would work, it's not electrically safe and is dangerous for not only the hardware but for you too.