Only if they have a visa and go landside. There is no reason they can't come out but they would have to go through immigration (ensuring of course they have all the necessary visas) and then back through the main security in time for the next flight.