Theoretically you could, but in practice I don't know that we can reliably determine either of those probabilities with any accuracy. For instance, COVID risk is highly dependent (even for elderly people) on the presence of comorbidities. Are you going to ask everyone on the flight for their medical history?