Most certainly. Songs also. I'm an (admittedly intermittent) singer/songwriter. Perhaps 10% of the songs I've written were built from a snatch of something I pulled out of the dream state.
My entire science fiction novel titled The Seeder was expanded from a priize winning short story of the same name--which was in turn originally constructed from a number of dream experiences combined into one.