Yes that's right. One of the first things I always do.
I assume you have clarified the motor isn't a star/delta start motor where the windings will be 415/690 so not suitable for your standard 1-3 ph VSD, a lot of compressors are star/delta start.
It's one of the first things I forget.
It's a lot more fun the other way around though...I've seen it done by a temp we had, the motor was hotter then the sun with the resin pouring out of it.