You can cycle a fish tank with live plants, but it will take time. As bacteria develop in the tank, they will feed on ammonia caused by rotting plant matter, and at the end of the cycling process, plants will feed off the nitrates created by the bacteria. You will generally have quite low levels of beneficial bacteria when only cycling with plants.