Hello,
It should work. When you add the host in the distributed switch you have the option in the wizard to migrate the vmkernel (esxi management network) and to migrate the virtual machine network as well. Performed a test in my home lab and it migrated the host and the running VM without downtime. (only one packet loss)