Could we use AFMotor library without the sheild

Hello, the purpose of this thread is whether AFMotor library can be leveraged without the adafruit sheild as i am interested in varying the frequency of the PWM signals from UNO I would be pleased for your suggestions