The egg in baked oats helps the recipe to bind together and creates a more sturdy texture. You can leave the egg out, but the recipe will be softer and mushier. Flax eggs and chia eggs can be used in place of an egg if desired.