(I am not your lawyer, this is not legal advice.)
DEI initiatives are about driving recruiting efforts and targeting towards underrepresented groups (e.g. having recruiters reaching out to qualified women, running recruiting drives at colleges with high minority populations, etc.) but the ultimate hiring decision cannot exclude anyone on the basis of a protected class.
- United Steelworkers of America v. Weber, 443 US 193 (1979)
- Johnson v. VTA; 480 U.S. 616 (1987)
I guess the first part would be deciding how to measure diversity. Maybe put people into different buckets based on their skin color, sex, gender and disability status.
Then, the next part would be deciding if we want an even split or counts representative of the field (unless that's incorrect too) or maybe based on demographics.
Good thing you're not a lawyer and this not legal advice because what you're suggesting is in a legal gray area at best.