Yes, one can go to lounges at different terminals even if the person is in transit in another terminal. The AUH aerodrome gives priority to the comfort of passengers.