Adding custom events to the API using Jitsi Meet

Is it possible to add custom events to the API using only the Jitsi Meet without touching the lib-jitsi-meet?

I tried to add my own event to the events in modules/API/external/external_api.js;
I defined notify method and called it in the code, also I created an addListener in the conference using the room.on with the name of the event but no luck.