Yes, excessive stirring can ruin layering in baking and cooking by overdeveloping gluten or disrupting carefully created fat and flour layers. This results in a tougher or less flaky final product.
The impact of stirring on layering depends on what you're making. In baking, especially when making pastries like pie crust or croissants, layering is achieved by incorporating cold fat (butter or shortening) into flour. The goal is to keep the fat in small, distinct pieces. When the dough is baked, the fat melts and creates steam, which separates the layers of flour, resulting in a flaky texture. Excessive stirring or mixing develops gluten in the flour, which creates a strong, elastic network. This can prevent the formation of distinct layers and lead to a tough, dense crust. In other cooking applications, like sauces, excessive stirring can break down emulsions or prevent the formation of desired textures. For example, in risotto, stirring is necessary to release starch, but too much stirring can result in a gummy texture.
When making pie crust or other flaky pastries, use a light hand and pulse the ingredients in a food processor or cut the fat in with a pastry blender until the mixture resembles coarse crumbs. Avoid overmixing after adding liquid.