Yes, you can do that by building your own NLU Pipeline component. If you like, you may even add this to the nlu-examples repo, as others might also be interested. Just create a PR.
In any case, the nlu-examples repo contains several examples on how to write your own component.
Your component should come before the tokenizer in the pipeline, or you may write it as your own Tokenizer.