Yes. There is a script trigger that will help you accomplish this. I think it's called onTimer. Basically, it's a trigger that attached itself to the current window when invoked. It will run a script of your choosing on the interval of your choice. All you would need is for something like this to run a script that will check if it's supposed to sound an alarm, and actually sound that alarm when appropriate.