Start by bringing a large pot of salted water to a boil. Add the spaghetti and cook according to the package instructions until al dente. Once cooked, drain the spaghetti and set it aside.
In the same pot, add a splash of olive oil and heat it over medium heat. Add the chopped yellow onion and sauté for about 3-4 minutes until translucent. Add the minced garlic and cook for another minute until fragrant.
Add the ground hamburger to the pot, breaking it apart with your wooden spoon. Cook until browned and fully cooked through, about 5-7 minutes. Drain any excess fat if necessary.
Stir in the diced fire-roasted tomatoes, rinsed pinto beans, drained corn, garlic powder, and the Mexican Style Tomato soup. Mix everything well, allowing the flavors to combine and simmer for about 5 minutes.
Add the cooked spaghetti back into the pot, stirring to combine all the ingredients thoroughly. Let it simmer for an additional 2-3 minutes to heat through.
Remove the pot from heat. Serve the spaghetti in bowls, topped with shredded cheddar cheese, chunks of avocado, and chopped green onion. Drizzle with salsa for an extra kick, and enjoy!