I stand by to be corrected but I think everyone goes through arrivals and customs.
Then its a 1 min walk back to security which will then be q dependant how long that takes.
The aircraft will start boarding 20mins before departure so I don't think its practical.