Yes, you can migrate from a Ledger device that uses a passphrase (also known as a 25th word) in addition to the 24 recovery words. You can enable the 'optional passphrase' feature in the BitBoxApp and the BitBox02 will prompt you for a passphrase each time you unlock it with your device password.