Motion Detected Audio alarm

Hello,

Is it possible to add a feature so when motion is detected in the doorbell. The doorbell will then play precorded messages or alarm sounds or chimes. For instance a criminal is up to know good in front of your house and the doorbell okays a message or alarm letting them know they are being detected. Similar to how you have the prerecorded messages that now play when doorbell is pressed.
To further add to this you can have the door bell chime light or pulse to attract attention or maybe a add on doorbell light