They can be and they serve as endosymbionts in all sorts of floral taxa. Anabaena, Nostoc in cycads; Cyanothece in dinoflagellates; Richelia within Rhizosolenia and Epithemia within Rhopalodia (diatom); Aphanocapsa, Synechocystis, Oscillatoria in sponges....the list goes on.