Prepare noodles by soaking in hot water until flexible but firm; drain and set aside.
In a small bowl, whisk together tamarind paste, fish sauce, and coconut sugar to create the sauce.
Heat avocado oil in a large skillet or wok over medium-high heat.
Add minced garlic and red pepper flakes, sautéing for 30 seconds until fragrant.
Add shrimp to the pan and cook until they turn pink and opaque, about 2-3 minutes.
Push shrimp to one side of the pan and crack the egg into the empty space, scrambling until just set.
Add the soaked noodles and the prepared sauce to the pan, tossing vigorously to coat everything evenly.
Fold in the bean sprouts and green onions, cooking for an additional minute until the sprouts slightly soften.
Remove from heat and serve immediately, topped with crushed peanuts and a fresh lime wedge.