Some snakes can be kept together without any issues; unfortunately, the ball python is not one of these.
They will stress out, and I believe due to their secretive nature they struggle for the best hiding spots and one will be dominant over the other.
It's possible, but wouldn't you rather spend a little more money and have two happy snakes?