Yes, absolutely that's part of what an immigration lawyer does. All that lawyer needs to do is enter appearances with the US state department and the US consulate in question on behalf of the client.
Kindly be advised that the answer above is only general in nature cannot be construed as legal advice, given that not enough facts are known. It is your responsibility to retain a lawyer to analyze the facts specific to your particular situation in order to give you specific advice. Specific answers will require cognizance of all pertinent facts about your case. Any answers offered on Avvo are of a general nature only, and are not meant to create an attorney-client relationship.
Of course. The question becomes what was previously applied and why was it denied? So it isn't so much as whether an attorney can represent the foreigner but given the particulars of the case can the immigration attorney add any value.