I've done classes and it can be hit or miss. As you improve, you really won't benefit hitting 1/2 balls then going back to the end of the queue as it can be difficult to form a hitting rhythm.
Getting a bunch of people together and hire a coach and agree what to pick up beforehand sounds better. However, it's even better to find a better player as a regular hitting partner for co-operative hitting and games. I get 1-2-1 lessons for when I want to work on technical aspects of my game. Best compromise.