Yes, you can freeze this recipe with gnocchi. Ensure you put the leftovers in an airtight container before putting it in the freezer. It should be good for a few months in the freezer.