The easiest/safest way to do this is to do a full backup…then install Proxmox 7 and add Home Assistants a container…restore your backup and you’re done. Less than an hour and you’re done. Just follow the cookbook
Note: I just did a complete reinstall on a Nuc8 following this yesterday.