Is this possible to have a datastructure inside another data structure? So far I can only insert a string or a number into a list.
A desired data structure would be
Redis have a very limited set of data types which can be found here: Data types
What you can do is to store the names of element lists in a list so it will effectively act as list of lists.
Yes, you can store a id lists in a list, each id is a pointer to other redis list. You can use a multi/exec Pipeline Multiple Commands architecture to do all CRUD operations
Simple answer: No, Redis list members can only be strings.
Complex answer: There is a lot you can do with strings. You can serialize a list into a string using a number of different formats (JSON, XML, CSV, language specific serialization, etc.). Redis can hold pretty large string values so you can store just identifiers which point to a key containing the real values, or you can have a serialized list of the values themselves.