Hello Felipe,
Yes, you can, would be the short answer, however in order to get a notification when a script runs you will need to assign your script to a task. As you know scripts can be executed independently or with a conjunction with a task. The task bit is responsible for scheduling, sending notifications, executing the script on the desired scope of machines etc.
For more info and examples on how to use tasks, navigate to Automation section of the Pulseway WebApp and click on 'Learn How to Use' in the right top corner of the webpage.