You know, I'm not really sure.
I have never kept two or more snakes in the same enclosure, but I'm not planning on it either.
However, since carpets climb a lot and don't really use their hides all that much, I believe it could be a lot more forgiving with carpets. They would not have to struggle as much for the best spot in the cage.
What I would do is get a very large cage, with two basking areas and lots of climbing space.