Coating your berries in flour helps to absorb some of the liquid, which prevents them from sinking to the bottom of the batter. You could still make your muffins without coating them in flour (and they will still taste delicious).