The issue is going to be that once they close, that's it. They don't reopen. They digest the prey and then die back while newer shoots grow in to take their place. I don't think them little gnats are going to make much of a meal plus you would likely need tons of the fly traps to make a difference in the population... but a cute idea to be sure.