Yes, it is absolutely normal for the filling in a Bakewell pudding to puff up as it bakes and then collapse when it is out of the oven.