We had a few similar threads but this is specifically for tracks which have been used as TV-show’s main theme (not just in a scene) and wasn’t written specifically for that purpose.
E.g.
Fever Ray - If I Had A Heart (Vikings)
Portishead - Sour Times (The Vice)
Oasis - Half The World Away (The Royle Family)
I was about to say “anyone can fall in love” as the eastenders theme tune but I had a quick check and it turns out the lyrics were added AFTER it was the theme, and sung by a cast member (and reached # 4 in the uk charts).
So quite literally the opposite of what you’re asking for! You’re welcome!