That would seem like a possible way forward.
However cloning an ESXi disk and installing it in a 2nd server, is probably a bad idea for all sorts of reasons. All of the configuration files, log files, host UUID, even certificates will all be identically cloned.
Performing a clean install of ESXi is easy enough to do, and is almost certainly best practise (as well as good practise).
If this post helps you, please leave kudos | or mark this reply as an answer