Yes, you can still earn the relevant certificate from the online course.  If you fail the Certified ESG Practitioner assignment, you may resubmit it after 3 months with an additional fee.