Does ECOA apply to commercial loans?

Yes, the Equal Credit Opportunity Act (ECOA) applies to all forms of credit, including commercial loans.