Yes, you can crack your eggs for camping beforehand and place them into a mason jar or zip lock bag and either freeze it or at least keep it cool in your fridge and then cooler.
Otherwise, if you plan on taking the eggs uncooked, it is best to ensure the shell remains intact as this will protect the egg with an airtight seal.