A few years ago, the issue of whether it was proper for an attorney to "ghostwrite" documents for pro se litigants was hotly debated. Some jurisdictions took the position that it was ok, other required lawyers to disclose their role. See here and here for example.
I had not see much on the issue since then until a few days ago, when I saw a short comment in Lawyerist summarizing the state of the law. You can read it here.