Opening doors both ways

Couldnt you just put a trigger box on either side of the door, no matter which direction you come from, you are either entering one trigger box or the other. One trigger box animates the door (sequence) one way. The other one animates the door the other way (sequence).?