Yes, you can. You can make the sauce up to a day in advance, then add cooked gnocchi, spinach, mascarpone cheese, and parmesan cheese just before serving. Don't forget to reserve some pasta water.