If this is a general question and not looking for a specific frog, it is possible.
But to thrive you provide more space to allow climbing/exercise, hunting of food, and reduce the stress of captivity.
If your looking for a frog to fill a tank you have, then I don't have one to suggest.
Don