Typically the more advanced features are not encoded in any of the ONVIF specs - so in general no.
( This is why ideally you match your cameras to the appropriate NVR from the same OEM to maximize compatibility of features )
Of course, one option is to feed the video to something like Blue Iris and have it handle it.