Yes an ESC is controlled like a servo. If you look at the Knob example in the IDE that should drive an ESC as easily as a servo. Note that if you have the ESC set in forward/reverse mode then writing an angle of roughly 90 will be stopped with 0 full speed one way and 180 full speed the other way.
Steve