Yes. The 1967 James Bond movie, You Only Live Twice, makes play with the common hedonistic expression, "You only live once."; the idea being that Bond, in his daring-do and double-life, has more than the rest of us at his disposal in his pursuit of pleasure.
Interestingly, Roald Dahl, the writer of popular children's literature (The Twits, Charlie and the Chocolate Factory, James and the Giant Peach, Matilda, The Witches and The BFG.), was the screenwriter for the movie, which, as the wiki article explains, "is the first James Bond film to discard most of Fleming's plot, using only a few characters and locations from the book as the background for an entirely new story."