Sure, but not at the admittance rate that legacies get. There's been stats & studies showing for example some Ivys with ~3% admit rates having something closer to ~12% for legacy applicants.
Most people applying to an Ivy are already self-selecting as pretty exceptional applicants (putting aside the delusional) and the legacy admits had same/worse SATs, etc.
edit: just looked it up, Harvard is at ~34% legacy admit rate versus regular 6% admit rate..
A study of a top 25 school showed that legacy admitted students had identical scores than non-legacy: https://hechingerreport.org/proof-points-why-elite-colleges-...
“Among the admitted legacies, grades and test scores were indistinguishable from non-legacy students. Both groups had an average SAT score that surpassed 1430.”
At Harvard, my understanding is that the legacy admits have slightly higher test scores than non-legacy admits.