Moving to new Hardware Intel x86-64

Hello I have HAOS installed on a Dell Optiplex

I want to move to another machine which is also a intel x86-64

Can I just remove the SSD and install it in the new machine along with my zwave dongle and Zigbee dongle?

If not what do I need to look out for\change

Thanks