Sure it’s legal. The question is, why would you want to. Aside from the fact that you will be labeled a racist (though I’m guessing you are), you would also be inviting vandals to defile your home if not destroy it.
It’s not illegal.
If people harass you or vandalize it, that IS illegal.
I say go for it, if it’s what you truly believe in.
Your house might get torched!!!!!