These are quite different ingredients... But in a pinch yes, you can technically swap regular pumpkin puree for pie filling. The pie filling will already contain sugar and spices. So you'll want to skip adding those ingredients to the cake, which will alter the texture of the crumb a bit.