Can birds lay eggs while flying?

Birds cannot lay eggs while flying, because the amount of energy needed to expend to lay and egg would require the bird to stop flying and land. Plus, the bird's internal instincts would make itself land just about anywhere that doesn't hurt them, e.g., backyards, tree branches, etc. Their instincts will override anything they are doing and they would land to lay an egg.