Yes. Divorce is one of the qualifying life events under both COBRA and the ACA marketplace. If you lose health coverage as a result, you can enroll in COBRA, choose insurance after a divorce through an insurance company, the marketplace, or your own employer outside of the regular open enrollment period (HealthCare.gov). The key requirement for marketplace enrollment is that you must actually lose coverage, not just get divorced.