I don't see why not, but I would definitely put it in a pot since it will be disturbed whenever you clean the tank if it's directly in the substrate. Plus you'd have to water it and that would obviously get pretty messy.