Godot supports navmesh both as props and GridMap blocks, so I guess they will both be taken into consideration when you do pathfinding. You could give it a try, otherwise you can use the AStar API, which allows you to define a more generic set of waypoints in GDScript.