Good to note, this may have changed then. It was okay last time I did it.
HRAs on the other hand are a good vehicle for this.
EDIT: Ah, there is indeed an exception for continuation of coverage under COBRA which makes it acceptable to do so: https://dpath.com/hsa-and-cobra/