In a large saute pan, add 1 tablespoon olive oil, onions and rosemary. Cook on medium heat for 5 minutes. Reduce heat to medium low and cook for another 20-30 minutes, until the onions are soft and golden brown. Season with salt and a lemon juice.
While the onions cook. Prepare the dough. Add yeast and sugar to one cup of hot water, about the temperature of a comfortable bath. Let dissolve for 5 minutes. Mix in 2 cups of flour and a tsp. of salt. Add in another half cup or more to make the dough form into a nice ball. Turn onto a floured surface, knead a few times to make sure the flour is combined. Roll flat and transfer to a pizza baking sheet.
Brush the top of the unbaked pizza crust with olive oil. Top with cheese, ham, onions and rosemary needles. Bake for 12-15 minutes. Serve right away.