What @dc01 said. It sounds like you are describing a “bootleg ground.” It can kill you. This has been against code in the US for almost 20 years.
The wiring FAQ may help clear up any momentary confusion about networked switches:
But the main thing is if the manufacturer says the switch needs 4 wires (hot, neutral, load, and ground), then it needs 4 wires to operate safely. (BTW, US code also requires following the manufacturer’s instructions.) If your wiring doesn’t match, you may be able to find a different model of switch that will work.