Prepare the rice powder: Set a small pan over medium-high heat. Dry-toast the uncooked rice until fragrant. Grind it in a food processor, using approximately 20 pulses.
Sauté the shallots: Place a large skillet over medium heat and add the oil. When the oil shimmers, sauté the shallots for approximately 3 minutes, until tender.
Heat the tofu: Stir the crumbled tofu into the shallots. Cook for another 5 minutes, stirring frequently, until heated throughout.
Season the fillin: Stir in the ground rice, brown sugar, lime zest, lime juice, kosher salt, and chili paste. Continue cooking for 3–5 minutes, stirring regularly to distribute the seasonings. Remove the skillet from the heat.
Mix the sauce: Whisk together the sauce ingredients in a small bowl until combined.
Add the fresh ingredients: Fold the cilantro, mint, green onions, and optional peanuts into the warm tofu mixture.
Assemble and serve: Divide the filling among the lettuce leaves. Drizzle with sweet chili sauce and garnish with additional cilantro and mint. Offer the remaining sauce for dipping.