In a bowl, combine the chicken pieces with 1 tablespoon soy sauce, Shaoxing wine, and white pepper. Toss well and let marinate while you prepare the batter, 10 minutes.
In a medium bowl, whisk together 0.5 cup cornstarch, flour, and baking powder. Add the beaten egg and 0.5 cup cold water; whisk until smooth and thick enough to coat the back of a spoon. Let the batter rest 10 minutes.
Heat 2 inches of vegetable oil in a heavy pot to 350°F over medium-high heat.
Add the marinated chicken to the batter and stir to coat evenly. Fry in batches, dropping in pieces one by one. Cook until golden brown and cooked through, 4–5 minutes per batch (165°F internal). Transfer to a wire rack and keep warm. Return oil to 350°F between batches.
In a small bowl, whisk together ketchup, rice vinegar, granulated sugar, pineapple juice, 1 tablespoon soy sauce, and 0.5 cup water until the sugar dissolves. In another small bowl, stir 2 tablespoons cornstarch with 2 tablespoons water to make a slurry.
Heat 1 tablespoon of the hot frying oil in a large skillet or wok over medium-high heat. Add garlic and ginger and stir-fry until fragrant, about 30 seconds.
Add the green bell pepper, red bell pepper, and onion. Stir-fry until crisp-tender, 2–3 minutes.
Add the pineapple chunks and toss for 30 seconds.
Pour in the sweet-and-sour sauce and bring to a simmer. Stir the cornstarch slurry to recombine, then drizzle it in while stirring. Cook until the sauce is glossy and thick enough to coat a spoon, 1–2 minutes.
Add the fried chicken and toss to coat evenly. Cook just until heated through and still crisp in spots, 30–60 seconds. Remove from heat.
Garnish with sliced scallions (for serving). Serve immediately with steamed rice.