As of July 1, 2015, the Maryland Judiciary developed new rules specifically permitting what is called "limited scope representation." This means that it is possible for attorneys to represent clients for specific tasks in litigation as opposed to full-service. Typically, an attorney would handle all aspects of the litigation, including drafting and filing pleadings, organizing and drafting discovery materials and representing the client at all schedule court appearances.
With limited scope, the attorney and the client can agree that the attorney will only be bound to perform certain tasks, for example perhaps just handle the pendente lite (ie, temporary) hearing, but not necessarily the final merits hearing. In other words, the client can choose which services he or she wants an attorney to handle and which to attempt on his or her own. Keep in mind that some attorneys will enter into limited scope agreements, and others will not.
One potential issue is, how can clients be sure they are getting adequate attention for their matter? Limited scope or not, it is important to work with an attorney you are comfortable with.
The key to any agreement for services with an attorney is to be sure you understand what the attorney will and will not due, and what you will be charged for. A reputable and ethical attorney will take the time to explain the agreement and answer your questions.