No, family members are not automatically enrolled in the military's health care plan known as TRICARE.
Before family members are eligible to receive TRICARE benefits the servicemember must first enroll his or her dependents in DEERS (Defense Enrollment Eligibility Reporting System). This requirement applies to all U.S. military servicemembers.
For more information on DEERS read
How Do Family Members Enroll in DEERS?