Preheat oven to 400 degrees Fahrenheit (200 degrees Celsius).
Place tomatoes and the whole head of garlic on a baking sheet; roast for 35 minutes until skins are charred and tomatoes are soft.
Remove from oven and allow to cool; peel the tomatoes and squeeze the roasted garlic cloves out of their papery skins.
In a small skillet, heat one tablespoon of olive oil over medium heat and fry the bread slice until golden brown on both sides.
Place toasted almonds and hazelnuts in a food processor and pulse until finely ground into a coarse meal.
Add the roasted tomatoes, garlic cloves, fried bread (torn into pieces), roasted red peppers, sherry vinegar, smoked paprika, salt, and cayenne to the food processor.
Pulse the mixture until ingredients are thoroughly combined but still retain a slight granular texture from the nuts.
With the food processor running on low speed, slowly drizzle in the remaining olive oil in a steady stream until the sauce is emulsified and thick.
Transfer to a bowl and let the sauce rest for at least 30 minutes at room temperature to allow flavors to meld before serving.