On a rimmed baking sheet, toss the shrimp with 3/4 teaspoon salt, 3/4 teaspoon pepper, and 1 tablespoon of the olive oil. Roast the shrimp until bright pink and cooked through, 15 minutes.
Heat the remaining olive oil in a large skillet over medium-high heat. Add the onion and ginger and cook for 2 minutes. Add the rice and cook, stirring occasionally, until it begins to brown and crisp, 6 to 8 minutes. Stir in the peas and chorizo, if using, and cook for 2 minutes. Reduce heat to medium. Make a space in the center of the rice and pour in the eggs, sesame oil, soy sauce, and scallions. Scramble the eggs until set, then stir them into the rice.