Absolutely. Skill improves wherever the game is being played — on a playground at six years old or in an NBA arena as a seven-time champion, the mechanism is identical. Reps are reps.
Playing in front of people is itself a skill, and like any skill it responds to practice. The introverted player who keeps showing up will get steadily more comfortable with a crowd, and the anxiety either diminishes or becomes manageable background noise.
The practical advice is to increase exposure gradually: shooting alone first, then small groups, then pick-up games, then anything with spectators. Nobody starts comfortable being watched. They get there by being watched.