No, moving a ferrite core through a coil won't generate a voltage. You would need to move a magnet to generate a voltage.
Look for a vibration switch like one of these. If you want more control, you could use an accelerometer and a microcontroller to trigger it from a specific amount of movement.