Yes, there are certain bacterial species which trap light energy coming from sun in the process of photosynthesis or there are some photosynthetic bacterial species whcih carry anoxygenic light reaction of photosynthesis. Bacterial photosynthesis is broadly of two types: Purple Nonsulfur bacterial photosynthesis and Green sulfur bacterial photosynthesis.