Can I plant star anise at the door?

Illicium verum can be planted at the door. Although the octagonal is full of thorns, birds don't stay overnight, and there is another advantage, that is, they can "guard the house and protect the hospital." In the past, many people planted some birds outside the courtyard wall and at the gate to prevent thieves from staying and keep bad people away, so they could plant octagonal at the gate.