Hey ,
Great question! Yes, you can make it dynamic. There’s a setting in Project Settings under Navigation Mesh to make mesh generation dynamic which will allow you to use moving meshes as part of navigation.
I also highly recommend you read through this document about customizing navigation in general. There are several great examples here detailing how to customize your navigation system to make AI flow smoothly through a level.
Please let me know if this helps!