Yes, COBRA premiums can be paid from an HSA.
Generally, health insurance premiums cannot be paid from an HSA. Exceptions are granted if if you are collecting federal or state unemployment benefits, or you have COBRA continuation coverage through a former employer.