Preheat the oven to 400°F (200°C).
In a large skillet over medium-low heat, cook the bacon until the fat renders. Once the bacon begins to crisp, use a slotted spoon to transfer it to a plate. Add the butter to the skillet and let it melt. Stir in the shallots and a pinch of salt and cook, stirring, until the shallots are softened, 3 to 5 minutes.
Add the bread crumbs, pepper, and herbs and stir to combine. Return the bacon to the skillet, increase the heat to medium, and cook until the bread crumbs are golden, about 5 minutes more.
Arrange the shucked oysters in a single layer on 1 or 2 ovenproof rimmed platters. Spoon a heaping tablespoon of stuffing atop each oyster shell and bake until the liquid is bubbling and the bread crumbs are golden brown and crisp, 5 to 7 minutes.
Serve immediately, with lemon wedges on the side.