Define Collection with Types Element not primitive

Is it possible define Collection where types values is not primitive
eg: Collection [{nroRef: 112, asignee: pepe},{nroRef: 113, asignee: robert}]

If i need pass multiple values between multiple task and each task can be assigned to a different user, can i do it?