Position an oven rack 6 inches from the broiler element and preheat the broiler. Line a rimmed baking sheet with foil.
Arrange the red bell peppers and eggplant whole on the sheet. Broil, turning occasionally, until skins are blackened and the peppers slump and eggplant is tender, 20–30 minutes.
Transfer the hot vegetables to a large bowl, cover tightly, and steam 15 minutes to loosen the skins.
Peel off and discard the skins. Remove stems and seeds from the peppers; split the eggplant and scoop out the soft flesh. Place the peeled peppers and eggplant in a colander to drain 20 minutes, pressing gently to release excess liquid.
Finely chop the drained peppers and eggplant by hand, or pulse in a food processor to a coarse, spreadable mince—do not puree completely.
Set a wide, heavy pot over medium heat. Add the chopped mixture and cook, stirring, until steaming and some moisture evaporates, about 5 minutes.
Reduce heat to medium-low and simmer, stirring frequently. Slowly drizzle in the sunflower oil in a thin stream while stirring until incorporated. Continue to cook, stirring often, until very thick, glossy, and reduced, 45–60 minutes; a spoon dragged across the bottom should leave a clear trail.
Stir in the white wine vinegar and kosher salt during the last 10 minutes of cooking. Continue until the oil no longer separates and the ajvar holds a soft mound on a spoon.
Remove from heat and cool 15 minutes. Taste and adjust salt. Pack into clean jars, let cool to room temperature, then refrigerate up to 2 weeks. Serve at room temperature with bread, grilled meats, or cheeses.