This started life as a comment but grew too long.
If you untar directly over the system you are running in, it will most likely crash when you overwrite libraries, so you'd need to experiment with excluding various system directories. It would also probably not boot afterwards owing to wrong device paths and missing drivers.
As ALex_hha says, your best plan might be to install a fresh copy of Centos, then selectively restore non-system directories. Or boot your VM off an external iso image, or mount it to another VM, then untar but you'd face the same device problems.
For the future, read up on AWS's VM export, Vmware's Converter, and so-called p2v generally.