Don't know if this is as much a thing anymore but in the 70s, 80s and 90s spin off singles from popular TV shows where the actor "sings" in character were a big thing.
Paul Henry released this single in 1977 as Benny, the simple minded handyman he played in ITV soap Crossroads. Its pretty bizarre.
Its got nothing on this though. Worzel Gummage aka Jon Pertwee singing to kids about stranger danger. Jaunty latin beat with lyrics about kids ending up dead if they talk to strangers.