Generally, it's safe to grow plants in PVC pipe. However, it's crucial to ensure the pipe is clean and free of any harmful substances. PVC pipes do not degrade under sunlight or soil contact, making them suitable for gardening use. However, certain types of PVC can leach harmful chemicals, especially under heated conditions, so it's recommended to use food-grade, UV-stabilized PVC for growing edibles.