Is it possible to overwrite an existing route definition from within the app


I have a package that I am using, and the user does not include the notFoundTemplate inside of his route.

I would like to extend the route, or overwrite the route, without cloning the package locally.

Is there a simple way to do this?