Hi there,
it is possible but not the recommended way to do detection but alarm detectors can be "bypassed" unless the detector loop is monitored (End of Line resistance - EOL) which is in accordance to UL. I would recommend that you have a conventional alarm system installed with the output of the alarm panel triggering the NVR. I pressure you want to get alerts via your app.