Can songwriters write lyrics to fit a given piece of music?
Yes, lyrics can be written to an existing melody. It is done all the time. For the lyricist it provides a strong framework on which to build. Essentially for many songwriters when they write the second or third verse to a song, they are in reality writing lyrics to an existing melody. http://learnhowtowritesongs.com/writing-your-own-songs/