I'll admit I haven't tried in A20, but I also have the understanding that the AI didn't change since A19.
Anyway, yes, you could construct a parameter consisting of pole blocks configured in such a way as to cause the zombies to simply run in place and almost never be able to attack the block...