No... it will be stressful on the tank. If there is a favored hide there will be dominance issues over it, leading to stressed out snakes. And bps can/do fight.
That isn't even taking into account that with both of them living in the same tank you won't know who has shed, if there was a regurg who did it, who pooped... it is better for both of them to be in separate tanks.