I guess that would work as well, and accelerometers are cheap as chips on ebay.
How about downhills, would it recognize it as braking and turn the lights on? Bumps, potholes and so on, this could also trigger the lights.
I believe "my" method is more in line with what Tesla actually uses, but...