Yes, you can absolutely cook it with the vine still attached. I baked most of the tart by itself and the tomatoes were roasted separately. Then, I bought them together for a final bake before serving