I wanted to know if it's possible to use a semi-impassable niche of this type: if my hero can enter it, but enemy units cannot, meaning the niche is not completely impassable because my hero can enter it, but it is also impassable for this battle because the enemy cannot reach my hero?
Enter on foot, while attacking monsters, regardless of their size, must be able to reach the Hero or unit to attack them.It seems everything is clearly defined. If the enemy cannot reach, then the niche is impassable.

Барон "Vampires"
Отдай свои прошлые сны,
В сомненьях себя обрети,
В бешеном танце душа кружится!
Не думай, что будет потом,
Здесь и сейчас мы живем,
Стань хоть на миг сам собой, слышишь!