Yes. You could make the pastries and filling a day ahead and then fill them just shortly before you serve them. I recommend making the icing just before you stuff the eclairs or dusting them with powdered sugar.