Alert when cameras are being blocked or covered

I was wondering if it would be possible to add some kind of loud sound or alarm that goes off when someone or something is blocking or covering the cameras. It will let that person know they’re blocking it.