Plugin: add /rest/api/2/void endpoint

Dear dev-community,

I am wondering, if it is possible to add a new REST endpoint into the existing api tree. Lets assume my new endpoint is called “void”.

Is that possible, so that I can call it with: /rest/api/2/void ?

Many thanks
Thomas