Yes, this is very safe and maybe an additional reboot will be required after your VM recognize the new vCPU.
Anyway, the number of vCPU that you will be able to add depends of how many vCPU this VM already have and how many do you want add and in which is the Hardware Version of your VM.
And if you will upgrade the Hardware Version, remember to upgrade the VMware Tools before.