Almost certainly, yes :)
You will need to start ZAP, proxy your tests through ZAP and then (optionally) run the ZAP active scanner.
If you dont run the active scanner then you could do this as part of your standard testing - ZAP will just perform passive scanning but that will report some useful things.
However it wont find the more significant vulnerabilities like XSS, SQLi etc.
If you run the active scanner then you will want to do this in a separate test run - it will almost certainly break your tests :)
Once your tests have run you will want to get some sort of report from ZAP and then stop it.
Does that help?
Feel free to ask more questions here :)
Cheers,
Simon