I really wish Star Trek was more consistent with its world building when it comes to stuff like this. There's a variety of spaceborn life forms out there, but no larger ecosystem, and usually no lifecycle. I get that exploration and discovery means not having all the answers, but shit like the pitcher plant just doesn't make sense. They are basically just monsters that exist outside the natural order of things. In fact, the many omnipotent beings in Star Trek are often the best explanation for how these things came to be, pretty much just "a wizard did it" but pretending that it's still somehow sciencey if we don't call it magic.
I like the idea that the galaxy could be populated by a complex web of gigafauna. I want to see pods of spacewhales navigating between worlds, filter feeding on gigantic space bugs, and evading ambush predators that phase in and out of reality. I want areas on the star chart that say "here there be dragons" because while we're pretty sure there aren't actual dragons, we know something dangerous is lurking there. I want to see spores from a silicon fungus that spread solar sails and infect neighboring worlds. And I want the show to remember that it exists instead of just being gone forever as soon as the credits roll.