Yes, you can. There are many "do it yourself" kits that you can obtain very cheaply from the Internet. This is only advisable if you have no children or property and have already divided up your personal items. If you have children and/or property, get a lawyer. The fees for a lawyer range from free to $600/hour. If you have a complex or international case, you should not trust your future to a beginner. Get a very experienced professional who can get the results you want at the courthouse if settlement talks fail.
John Nichols, Sr. practices family law in Houston. He has been listed as one of the best matrimonial lawyers in the U.S. in several journals and magazines including National Law Journal and Town & Country.