Hey @x_jdj_x!
What you are looking for is custom Nav Mesh areas and query filters. You can give hills a higher entry and/or travel cost so your AI will prioritize the easier route without completely removing the ability to go up the hill.
I hope the above the above is the solution you need!