Any one who is legally empowered to act on behalf of someone else may call themselves an attorney --- "as in being given the power of attorney."
A lawyer must have a law degree and a professional license.
A lawyer can be an attorney, but an attorney can't always be a lawyer.