yes. too many calories (specifically more calories than your body burns) will cause you to gain weight. it doesn't much matter if the extra is custard, it's about the total amount of food.