When young or old, green phantoms should not be fed on algae alone. They are omnivores from birth, they do not change their eating behavior as they grow.
I would not recommend doing it, as they will be very hard on the plants as far as breaking and uprooting, as they are far more active than most other species of loricariidae.