The term refers more to the set of instruments than the players of those instruments. A gamelan as a set of instruments is a distinct entity, built and tuned to stay together - instruments from different gamelan are not interchangeable.
The word "gamelan" comes from the Javanese word "gamel", meaning to strike or hammer, and the suffix "an", which makes the root a collective noun.