Yes, you can use :onyx.triggers/punctuation
(http://www.onyxplatform.org/docs/user-guide/latest/#_punctuation) with a custom :trigger/pred
predicate. It is evaluated on each new arriving segment, and will fire the trigger, if it evaluates to a truthy value.
Thanks, @lutz.buech