Only problem I see with this is you are taking test at the gate after you have checked in and checked bags are already loaded on the plane. If you test positive then flight is held up while they take your bags off unless test is given prior to checking bags. With carry on only nt so much a problem.
Also this is a factor.
"Antigen tests are faster but less sensitive and therefore slightly more likely to miss positive cases than the PCR alternatives"