A red eyed tree frog can get big enough to eat a younger or possible even adult pygmy chameleon and that would not be good at all. neither need two large of an enclosure so it shouldn't set you back too much cash anyways. I keep both pygmys and red eyed tree frogs and I absolutely love them both. Good luck.
justin