It can work but special attention would have to be given to the species of animal and plants. Those that thrive in humid conditions would be good. Like some colubrids, frogs, GTP, boyd's forest dragon, etc would be fine with bromeliads, some orchids, ferns, moss etc. It would not work with arid, semi arid, or temperate climate animals as plants for those conditions would die and obviously you would not put a desert animal into a living rainforest vivarium as the animal would end up with some pretty serious issues.