Texas courts typically only appoint a lawyer for you in a criminal case. So it’s unlikely that a judge will will appoint an attorney for you for a family matter such as divorce.
However, if one party to the divorce is missing or unable to be found, the court may appoint someone to represent their interests. In this situation, the appointed attorney would be called an attorney ad litem. This attorney ad litem would represent the missing person’s interests as related to children’s issues and property division in the divorce.