Sounds plausible. Could be something less sophisticated like a trembler switch. You could use the module you found, but then you need a micro controller in each carriage (or one per train perhaps) to read it. And a way to power them. If that's ok, why not?