I don't know how the current AI works, but I don't think it's quite as simple as you say. Non-hostiles tend to enter shops, wander them and exit rather often. If their behavior was just random moves I would expect them not to enter them that often (the entrance is narrow) and when they do, stay stuck there for a long while, like when a fly enters a room and can't find the window to go out.
Although maybe I'm totally wrong and it is that simple - these probabilistic things are often not too intuitive.
Anyway, more sophisticated AI for non-hostiles would be nice actually. It would probably need some safety mechanisms and a testing period to avoid deadlocks in corner cases, but I agree it would likely improve immersion. Voted yes.