Is it legal to sign someones name on a subpoena on their behalf?

NO!Unless you are an attorney licensed to practice law and has the client permission, or you have a POA (power of attorney) to do such a thing on behalf of a caretaker you cannot sign anything on somebody behalf.