Yes, that's what I used for navigation! It was a little tricky because with procedural generation, I had to bake the navigation at runtime, but it worked in the end!
Also was first time releasing something that used navmesh agents, so I think the navigation area was to wide and to close to the walls after I saw it completed, but didn't remember to change that!