Plugin with catch-all wildcard route map

Is there any chance Discourse could provide plugins the ability to accomplish this without a workaround?