Doesn’t the immune system attack the eyes if not for a protective wall? Or is that just a myth.

Hmm not sure what you mean. In the case of MOGAD, it actually attacks the lining of the nerve. The MOG means myelin oligodendrocyte glycoprotein, which is a protein in the myelin sheath.