Private companies can voluntarily do anything they want LAWFULLY
The government will not force a company to hire a person if that company does not have contracts from the government.
But if the company does have a governmental contract, the practice of hiring must be scrutinized and conformed to EEOA.