Yes, you can use a silicone egg holder or mold in the air fryer to cook the eggs. This will help keep the eggs in place and prevent them from rolling around. Just be sure to follow the manufacturer's instructions for the egg holder or mold and adjust the cooking time as needed.