Can arduino be used as a switch?
You can use the Arduino to drive a relay that switches the high voltage circuit.

There are relay boards and daughterboards ("shields") for this purpose. Look for one with proper protection - isolation of high voltage side of circuit from low-voltage side.

As you are in a 230V AC country (or region) make sure the relay is not 110 V rated.