They _can_ get most of their nutrition from photosynthsis (especially if they are large), but they will definately get nutrition from supplimental feedings of DTs.
When ailing clams come in, DTs will perc them back up within a few days, but when I dont feed DTs and just rely upon the lights, the ailing clams often parish. (or start to, until I get the DTs going).