Preheat the oven to 350°F. Lightly spray the cups of a muffin tin. Carefully place a slice of ham into each cup, ensuring it covers the sides. There will be some overlap. Scoop 1 tablespoon of pimento cheese into each cup and gently press it into the bottom. Crack an egg into each cup over the pimento cheese. You can also crack the egg into a small bowl and scramble it and then pour it onto the cup if that's more your speed. Sprinkle with salt and pepper and bake for 15 to 20 minutes, or until the egg is done to your liking - shorter for runny yolk, longer for firm yolk. Serve immediately.