Yes, you can make the filling the day before and store it in the refrigerator. This will have 2 benefits - firstly the filling will be cold when it goes into the pie (resulting in a more crispy pastry), and secondly, making the filling the day before will give the flavours time to develop and deepen.