Yes, plants undergo anabolism. Photosynthesis is a prime example where light energy is used to convert carbon dioxide and water into glucose, a complex molecule.