To answer your question in short yes Azure migrate is an wonderful option,
while it can assist with the migration of VMs, migrating a SharePoint farm with custom integrations involves additional considerations beyond just moving VMs If I'm not wrong. You'll need to plan and execute a comprehensive migration strategy, considering a lot of aspects like SharePoint migration tools, database migration, networking, security, and compliance. Depending on the complexity of your SharePoint environment, you may need to use a combination of tools and manual processes to ensure a successful migration to Azure VMs.
Find the below links for a detailed documentation
https://learn.microsoft.com/en-us/azure/migrate/
https://learn.microsoft.com/en-us/data-migration/
If you find this answer useful kindly accept thanks much.