Only if they can shoot at you too if they reasonably believe you're a threat to their safety. Which it sounds like you'd be likely to be.
In short, I got priced out most everywhere and had to go where land is cheap and I was allowed to DIY a shack. Strong property rights and practically unrestricted gun laws here though mean there is at least some protection despite basically no law enforcement.