To make the dough: Make a well in the flour. Sprinkle the yeast over the warm water and set aside until dissolved and slightly foamy, about 5 minutes. Beat the egg and salt into it, and pour into the well of the flour. Gradually mix with your fingers, drawing the flour in to make the dough. Knead until smooth and elastic, adding more flour, if needed. Cover and set in a warm place to double in bulk, about 1 hour.
To prepare the topping: Heat the oil in a saute pan and add the onions, herbs, salt, and pepper. Cover, and cook, stirring occasionally, until very soft, about 30 minutes.
Heat the oven to 400 degrees F. When the dough is ready, punch it down and roll it out like pizza dough. Lay on a baking sheet. Top with the onions. Lay on the tomato slices in rows. Arrange a lattice of anchovies, and fill spaces with olives. Grind over pepper. Let sit 15 minutes for the dough to rise up again a bit. Bake until the crust is done, about 30 minutes.