Yes, you can overcook squash and it can lose its firmness or even burn, so always keep an eye on it in the oven or air fryer.