This is true, but that method would not work out well. The amount of ammonia that snails would produce would be miniscule compared to the amount produced by a fully stocked aquarium, and most (if not all) of that ammonia would be consumed by the plants (which, btw, do not produce ammonia). Even if this set up somehow did manage to cycle the aquarium, as soon as the OP adds fish, the cycle would restart, since there wouldn't be enough bacteria to handle the new bioload. It would be best for the OP to just wait and cycle the tank while he's home.
Hello; I agree that the ammonia of a few snails would be small but it should be enough to get a population of bb started and maintained. That is why I posted that the tank could not be stocked with fish as soon as the OP returned. Bacteria can increase in population quickly under good conditions. I tend to add fish to a new setup a few at a time to help avoid an ammonia spike and give the bb population a chance to increase to match the bio-load.
My understanding is that plant cells undergo cellular respiration and produce respiration and waste byproducts much like all cells. For sure during the dark part of a photoperiod when they consume some of the oxygen and sugars produced during photosynthesis for growth and other life processes.
I can not say that I am aware that plants can directly consume ammonia. If so, that would be a handy way to deal with unwanted ammonia. I would like to learn more about this concept.