With allergies becoming more and more widespread, it is not really customary, but it is usually OK to share fruits. The only customary thing is that birthdays are often celebrated in crèche or kindergarten, and in that case the family brings a cake to the institution. In some blocks of flats neighbours sometimes share things they make or come together, but this depends on the house you live at.