wave frequency control

Hello,

Can I have control over wave frequency by using analogWrite() ?
(frequency more than 980 Hz)?

Best