Yes, you can put egg in hash browns, regardless of what cooking method you’re using. Just brown your hash browns, create a small space in the pan, and crack your egg into it. Then, cook until the egg is set to your liking. This works for stovetop, oven, and air fryer methods, though the cooking times will vary between each.