No, I don't recommend adding a hot custard to a trifle it will cause the cake to break down and become soggy.