controlling vibration frequency and amplitude of a motor
The ERM motor vibrates because of an unbalanced mass attached to its rotor.

The frequency of the vibrations is directly proportional to the motor's RPM. While the RPM depends on the voltage applied to the motor.

The "amplitude" of the vibration as you call it is a function of the frequency hence the drive voltage. Therefore you can't control the frequency and the "amplitude" separately.