Yes you could. Other languages do. See NSMutableSet and NSSet in Objective-C.