This comes up every once in a while, and the answer is complicated. It is technically possible to do, but generally considered a very bad idea. In the wild animals are in a constant struggle for territory, and food, and I suspect that in captivity, they will experience the same urges. With that said, provided enough space, it is conceivable that they can cut out enough territory to be satisfied, they do this in zoos regularly... But you are not a zoo, in all likelihood. I wouldn't subject my animals to a territorial war, they have enough trouble acclimating to me, and my cage cleanings, without learning to get along with a species that isn't concerned in the slightest for their well being. My advice, don't try it... Get a second tank, or another gray tree frog.