Suggest you sort out the physical side first - find out what sort of frequency you want, how much force and displacement you want in order to maintain the desired amplitude of movement. Driving through a tension cord with some flex in it would seem like the safest approach. For example, you could use a small geared motor with a crank on the output shaft. You need to sort out the mechanical characteristics to spec the motor, gearbox and crank though.