Can I purchase long-term care insurance with money from my HSA?

Yes, if you have tax-qualified long-term care insurance.  However, the amount considered a qualified medical expense depends on your age.  See IRS Publication 502 for the amounts deductible by age.