Yes, but it comes from Norse mythology, not Latin: https://www.britannica.com/topic/Midgard
As a scholar of early medieval literature, Tolkien borrows tons of ideas from the Edda and other mythological sources. (To give him his due, he masterfully reinterprets and combines what he „borrows“.)