You have been robbed 3 times but cannot set yourself up to catch them the 4th time.
Yeah you can
Get a really loud alarm. Have a baseball bat handy.
Sounds legal to me.