Yes a ten gallon can work but a 20 would be better. Just use "smooth" broad faced leaves. They like to suck down to the leaf as they are sleeping. So the leaf should be bigger than they are.

The tank should look like a tropical rainforest. They walk from leaf to leaf so they should be able to reach them. They wont jump so don't leave empty air space. It wont be used. I ten gallon tank densly planted is better than a sparce 20 gallon with empty air space. Viper has a good picture of a Red Eye Leaf frog habitat. Maybe he'll post it for you. It is always better to start off with adult captive bred frogs.