I would not freeze cooked gnocchi because it gets mushy when thawed. However, the fresh tomato sauce is very freezer-friendly. You can cook it in a double or triple batch, then cool and freeze it. Once ready to cook, thaw a portion of the sauce, heat it in a pan, and add freshly cooked gnocchi.