Theoretically, you can have as many layers of rubber roofing as your structure can support. Realistically, most people only have one or two layers of something like EPDM, or up to six layers for modified bitumen.
There’s a point where adding more layers significantly increases cost without making a meaningful difference in protection or lifespan, so you don’t need to overdo the layers.