Coding wisebit would take work. But basicalky just adding a flag to any thrall in treasure area at door guard position is treated as a follower. It would take just editing some BPs to do it. I wounder if i can find it it dev kit to try???
ps side effect is it would reward more doorways around the treasure room instead of the choke point strategy.