This is somewhat similar to Pathfinder 2e's flanking rule, where a flanked enemy is considered 'off-guard' and has a -2 penalty to their AC when they are attacked. Both rules are probably better ...