Soak rice noodles in hot water for 20 minutes until al dente, then drain.
In a small bowl, whisk tamarind paste, fish sauce, coconut sugar, and chili flakes to make the sauce.
Heat 1 tbsp peanut oil in a large wok over medium-high heat. Add tofu cubes and sear until golden brown on all sides. Remove and set aside.
Add remaining oil to the wok and sauté garlic for 30 seconds.
Push garlic to the side, pour in eggs, and scramble until just set.
Add noodles, cooked tofu, edamame, and the prepared sauce to the wok.
Toss continuously for 2-3 minutes until noodles are coated and sauce thickens.
Fold in bean sprouts and green onions, cooking for an additional 1 minute.
Garnish with crushed peanuts, cilantro, and lime wedges. Serve immediately.