For electronics as in a smart dimmer...wifi, zigbee etc you do need the neutral and ground. That's what I'd installed this past weekend in my stair well. 3 smart dimmers and 6 regular 3 ways.
Fun following the flow of electricity as you're switching them from traveler to traveler.
But OP, if...