Yes you can. Rayzeek motion sensor switch can replace 1-Gang switch without a problem. We offer both ground wire and neutral wire versions in case you don’t have a neutral wire available in the wall box.