I don't doubt that the math allows for escape velocities in some interactions. But I am wondering if, realistically, tidal forces might instead shred the bodies before forces were adequate for a body to achieve escape velocity.

It might be a fun option if bodies that pass really close can merge together or tear each other apart. The latter might add a lot of complexity though.