As of December 2021, any business who received PPP loans are eligible to also apply for the Employee Retention Credit.
How you accounted for your PPP loans in your bookkeeping will factor into your ERC refund, but does not disqualify you from applying.