There is no problem if a person wants to sing a song or another topic in general. Illegal could be if the person who sings about someone who has a drug problem finds out that his story is used without consent.