Yes, you can. For CKAN extensions, there is an IRoutes Interface . The interface allows you to define routes for any controllers.
You can find the example in 2 , which shows how to connect the URL in before_map and the controller in the extension.
source share