The adult male carpets can bite, but it usually similar to what you saw with the cobras, a kind of wrestling match. People do it to encourage breeding sometimes, there are varied opinions on how and when to do it, if at all and with what animals. You should be present to watch to ensure there are no problems.
I found a video online of some wild carpets fighting. They look to be some form of coastal carpets, Morelia spilota mcdowelli, hard to say for sure, mcdowelli have such variation in the wild, and in captivity. Most of the comments seem to think they are mating, but that is not how snakes copulate. That is two male engaging in combat for breeding rights.
Yes, at the moment I only have two snakes together, a pair of 2010 bredls pythons, Morelia bredli, and am working on resolving that. And to some extent, they are all over the place. There are few in the living room, one seems to like to watch t.v. at night. Most of them are in one room, which is the warmest room in the house, actually a very large walk-in closet. There is a homemade rack in there with some other things. I don't like the standard rack systems sold, as I like to give the animals some space. Most commercial racks are meant to be tight fitting, and very few have any height to the tubs. I'll put a thread soon with some pics and such.