Yes. However, using your HSA funds on non-eligible expenses will require you to be taxed on said expenses, as the initial contributions went tax-free. You may also face a 20% tax penalty if you are under the age of 65.