As people have said - bad idea.
However - I use to have a 50 gallon lizard tank with both fence and alligator lizards, and one pacific treefrog in the tank.
A 2 quart glass jug had water and a water heater in it set to 90F to provide additional warmth (there was a heat lamp but we shut it off at night) and the frog liked to stick his but in that jug when he wanted water, Pacific Treefrogs are generally terestrial except when young and when breeding.
There were also a couple plants in the tank.
It worked out quite well - but it was dumb to do it.
Keeping fence and alligator lizards together isn't too bad, but the frog in there wasn't wise even though it worked out.
-----
3.0 WC; 0.1 CB L. getula californiae
0.1 CB L. pyromelana pyromelana
0.1 WC Elgaria multicarinata multicarinata (gravid)