Here's a simulation of a DC motor with variable speed and inertial by using a Stepper with a custom stepper-esc chip:
The sim uses a chip-scope to show the input and output signals from the ESC, and you can vary the MaxSpeed and a Tau/Time constant variables to control the speed and inertia of the motor, while controlling the power to the motor with plain old PWM.