Yes, the filling can be made up to 48 hours ahead of filling the tart molds. Just make sure to cover the surface so that the pastry cream doesn't form a skin. You'll also want to make sure to whisk the pastry cream with a hand mixer to make sure it's smooth before filling the tart shells.