Yes, you can leave Dubai Airport only if your country is on the list of visa-free countries.