St. Paul fasted for a long time together with all the people on the ship (Acts 27:21)
Therefore communal fasting is acceptable and is a Biblical doctrine. It is proof of the oneness of soul in worship and in approaching God, especially if the purpose of the fast is a matter that concerns the whole community, or if the whole community partakes in the fast, as they do in prayer, in one soul.