Lets see, in English, "bode" is pronounced as "code" in normal cases.
In out of the ordinary cases, like being a borrowed word from another language, it could be pronounced as "body". Best example for that is the word "karate" where the final sound is a short vowel /e/. The ending of the word "separate" does not sound like that of "karate".
What controls letter pronunciation, how it sounds when read, is actually not the letter and its position, but the nature of the previous and next sound, including non at all. Sometimes it even goes to the sound before or next to the one before or next to the subject letter.
Look Mom, I'm a lumber jack !