Yes. Ian Fleming (1908-1964), the author of the James Bond novels began his intelligence work during World War II, when he served as the director of Naval Intelligence in Britain.
After D Day, he was placed in charge of an assault unit that became known as Fleming’s Private Navy.
It obtained German code books and equipment as British troops moved through France.