Migration noob question

Hi,

Probably a stupid question, but are snapshots hardware dependent? I am planning on moving my installation from my raspi 4 to my Synology D218+ in a docker container.

Can I restore a snapshot from the Raspi on the NAS once I have installed Homeassistant on it?

Thanks!