As per the documentation, it is supported. Check here: in-place-system-upgrade
To check it, Connect the VM > Go to Settings > Updates & Security > Windows Update and see if the current OS version is supporting the upgrade
----------
--please don't forget to upvote
and Accept as answer
if the reply is helpful--