If the Cobra payments were paid for by you with after-tax dollars (likely so), then yes, they qualify as medical expenses that are deductible on Schedule A (where the 7.5% floor is). That would also make them eligible to be used in the exception to the 10% early distribution penalty..
See https://ttlc.intuit.com/replies/5642263