Yes, as long as both people are covered by an HDHP and not enrolled in an ineligible plan (non-HDHP medical plan, Medicare or a general-purpose FSA). However, the combined contributions to both HSAs can’t be more than the annual family limit.