Rectify 220v ac to 220v dc using mechanical system
What you're describing is a vibrator used as a synchronous rectifier. Before transistors were invented, automobile radios often contained vibrators to produce pulsating DC from a 6- or 12-volt car battery, changed to AC and stepped-up in a transformer and rectified by additional contacts on the vibrator.

It certainly did work, though inefficiently and with comparatively short life of the vibrator due to contact erosion. However, electronic synchronous rectifiers are commonly used in low-voltage supplies because of their high efficiency due to lower forward voltage drop than semiconducor diodes.