Absolutely. My question, however, is the nature of your interest in the nature of the relationship, if any, between your ex and your ex's lawyer. Are you simply curious or is there something more to it?
A lawyer cannot solicit or demand sexual relationships with a client per Rule 1.8(j) of the Rules of Professional Conduct [I'm quoting the NY rules, but most state's are similar because they're based on the ABA model rules).
The rule specifically says:
(1) A lawyer shall not:
(i) as a condition ofentering into or continuing any professional representation by the
lawyer or thelawyer’s firm, require or demand sexual relations with any person;
(ii) employ coercion, intimidation or undue influence in entering into sexual relations
incident to any professional representation by the lawyer or the lawyer’s firm; or
(iii)in domestic relations matters, enter into sexual relations with a client during the
course of thelawyer’s representation of the client.
(2) Rule 1.8(j)(1)shall not apply to sexual relations between lawyers and their spouses or to ongoing consensual sexual relationships that predate the initiation of the client-lawyer relationship.
So...depending on the timing here...if there is no matrimonial case still pending, there might be nothing wrong with a personal relationship, especially one that does not necessarily involve sexual relationships...and there is nothing that prevents a lawyer to offering his services to a friend for free.
You can read sex into that if you want, but if there's no pending case, viewing this as unethical per the rules may be a stretch.
This answer is provided under the Avvo.com “Terms and Conditions of Use” (“ToU”), particularly ¶9 which states that any information provided is not intended as legal advice or to create an attorney-client relationship between you and me or any other attorney. Such information is intended for general informational purposes only and should be used only as a starting point for addressing your legal issues. In particular, my answers and those of others are not a substitute for an in-person or telephone consultation with an attorney licensed to practice in your jurisdiction about your specific legal issue, and you should not rely solely upon Legal Information you obtain from this website or other resources which may be linked to an answer for informational purposes. You understand that questions and answers or other postings to the Site are not confidential and are not subject to attorney-client privilege. The full Avvo ToU are set forth at http://www.avvo.com/support/terms . In addition, while similar legal principles often apply in many states, I am only licensed to practice in the State of New York and Federal Courts. Any general information I provide about non-New York laws should be checked with an attorney licensed to practice in your State. Lastly, New York State Court rules (22 NYCRR Part 1200, Rule 7.1) also require me to inform you that my answers and attorney profile posted on the Avvo.com site may be considered "attorney advertising" and that "prior results do not guarantee a similar outcome".
Another contributor quoted a rule of professional responsibility. Good analysis in that answer. The problem with such contact, even if it is not prohibited, is that it blurs the line between attorney and client. This is a professional relationship. It's like a parent who wants a their child to be their best friend. See the problem? Now I've done nice things for my clients. I've given them tickets to events for example but becoming a good friend is only asking for trouble.
By the way, why are you asking? Why do you care? If an attorney wants to work for free, that's his/her problem.