Absolutely! Writing a song can make you hundreds, thousands, or even millions of dollars in mechanical or performance royalties. The more the song is played or performed, the more money you make as the songwriter. A songwriting career is an excellent way of generating passive income.