Yes. You can pay qualified expenses for yourself, your spouse and your tax dependents, even if they are not on your HDHP.
For example, if your spouse has separate coverage through their employer, you can still use your HSA to pay their doctor bills or prescriptions tax-free.
The same qualified-expense rules apply to family members as to you. Keep receipts showing who received the care and what it was for.