Yes, adding spikes of walls for security reasons often proves effective. This is due to the fact that these spikes create a psychological and physical deterrent for intruders.