Extending Camunda REST API in Camunda RUN

Hello
When using Camunda BPM RUN version, is it possible to add some custom REST API endpoint, for example
/process-instance/{id}/some_action and implement the action as piece of java code?

Thanks in advance