analogWrite - only 0 to 255

Timer 1 on the Uno is a 16-bit timer so you can do it if you fiddle with the timer ports manually. You would want to choose one of the PWM modes (phase-correct or fast) and set up the ports appropriately.

There is a trade-off between resolution and frequency.