Never tried that, though I've heard others have done it successfully. I just make sure my tanks are as fruit fly proof as possible.