Of course, no issue with that. Doing it with 22+ players impacts the quality and depth of learning unless you have lots of coaches which isn't the case for the majority of teams.
At private or pay to go high schools with five coaches they might have options.
For our County public high schools we're lucky to have one good coach, or one coach who's really a history, math, or PE teacher who happens to find an volunteer assistant with some more detail knowledge of the game.