Cook the ramen noodles according to package instructions. Drain and set aside.
In a large skillet, heat the vegetable oil over medium heat. Add the ground beef and cook until browned, breaking it apart with a spatula, about 5-7 minutes.
Stir in the minced garlic and grated ginger, cooking for an additional 1-2 minutes until fragrant.
Pour in the beef broth, soy sauce, sesame oil, and sriracha (if using). Bring the mixture to a simmer.
Add the cooked ramen noodles to the skillet, stirring to combine everything well. Let it simmer for about 3-5 minutes to heat through.
Stir in the sliced green onions and baby spinach, cooking until the spinach is wilted, about 1-2 minutes.
If desired, in a separate pot, bring water to a boil and gently add the egg. Boil for 6-7 minutes for a soft-boiled egg. Remove, cool, peel, and slice in half.
Serve the beef ramen noodles hot, topped with the soft-boiled egg halves if using. Season with salt and pepper to taste.