Yes, if you prefer to mix in the ham and cheese into the scrambled eggs you can do that prior to placing on the puff pastry. I would advise to cook the eggs first, then add the rest to the frying pan just before stuffing.