A Variac (variable AC) is used to reduce AC voltage. So you might run UK rated equipment and US equipment for instance.
An electronic variable speed controller converts AC single phase to three phase and it is the 3 phase that provides the functionality of variable speed.
So in short, no. You cant use it as a variable speed controller for your lathe.