UEFI Ubuntu to new MOBO

I have a ubuntu install with a UEFI setup. I’m assuming that if i swap the CPU/Mobo it will boot off my install drive.

Is this possible? I’m used to ubuntu being migratable.