That's perfectly acceptable. It's some areas that have started to offer "absolution" to all without any private confession of sin, through ad hoc group "liturgies."
As others have noted the idea of group absolution is valid only in true emergencies. The last I've ever heard of in my area is when Three Mile Island was happening and some churches in the area held such services.
What needs to be understood is that if the emergency passes, you need to "follow up" with a genuine individual confession.
I find it funny that priests here can get together in neighboring communities to offer 5 or 6 priests at one place, but those in some diocese are "too busy" for such a thing. Yes, priests are busy, but isn't ensuring those in your community are spiritually prepared for Christmas and Easter kinda a big part of a priest's job?
SD