I'm in a midlife crisis. It's not a midlife crisis. That happens after you have committed yourself to something for better or worse and then you realize you're halfway to death, being in shape is harder, and you better start thinking about whether that thing you decided to do for 20 years is really the legacy you want to leave.
I don't know what the name for what you are going through is but I went through the same thing. It took me 5000 miles from home in a tiny hatchback with a bike on my roof. No friends where I ended up. Just knew I needed to leave. I wanted to experience more. Just like you I went back and got my degree, career and now here I am