Yes, people often use the words "lawyer" and "attorney" interchangeably, just as "medical doctors" and "physicians." Jurisdictions such as the US commonly use "attorney." In contrast, the rest of the world often uses the term “lawyer.”