I'm not sure I agree with your wording, ie use "glucose energy to turn nitrogen into protein". Proteins are made up of amino acids which are made from carbon, hydrogen, oxygen and nitrogen atoms. The glucose not only provides energy to the process but also carbon, oxygen and nitrogen. In fact, this is a very common process in plants.
Note: The comment I originally responded to appears to have changed their wording from "living organism" to animal. Although curiously this might not be correct either. For example, humans synthesize some “nonessential amino acids” from glucose (eg glucose → pyruvate → alanine). It's possible similar amino acid pathways can be combined into a protein completely synthesized by the human body. It also seems very likely that this happens in other animals.
https://www.quora.com/Can-the-human-body-turn-excess-glucose...