It is not possible because you need to reside in USA for some periods (you must meet requirements based on immigration rules).
See below.
You may be eligible to obtain U.S. citizenship if:
• You are a foreign national with 5 years permanent residence in the U.S. and at least half that time you were physically present inside the U.S. with no periods of absence over six months.
• You are a permanent resident for 3 years, who is currently married to a U.S. citizen, and has been married to the same U.S. citizen for the past 3 years.
• You have served the U.S. Armed Forces for at least three years
• You performed active duty military service in the U.S. Armed Forces during:
World War I (November 11, 1916 - April 6, 1917)
World War II (September 1, 1939 - December 31, 1946)
Korea (June 25, 1950 - July 1, 1955)
Vietnam (February 28, 1961 - October 15, 1978) or
Persian Gulf (August 2, 1990 - April 11, 1991)
• You were married to a U.S. citizen who died during a period of honorable active duty service in the U.S. Armed Forces
• You served on a vessel operated by the U.S. and have been a U.S. permanent resident for the past five years
• You are an employee or an individual under contract to the U.S. Government and have been a U.S. permanent resident for the past five years
• Are a person who performs ministerial or priestly functions for a religious denomination or an interdenominational organization with a valid presence in the U.S., and have been a U.S. permanent resident for the past five years
• You are a spouse of a U.S. citizen who is one of the following:
A member of the U.S. Armed Forces
An employee or an individual under contract to the U.S. Government
An employee of an American institution of research recognized by the Attorney General
An employee of a public international organization of which the United States is a member by law or treaty
An employee of an American-owned firm or corporation engaged in the development of foreign trade and commerce for the United States
A person who performs ministerial or priestly functions for a religious denomination or an interdenominational organization with a valid presence in the United States