Of course it is possible! OTRS is a open source software, so everything is possible
I think what you need is a new Event. There is a lot of material here about how to implement a new Event.
Another option would be to code a Module and execute it using a Generic Agent.