Yes because back then, India was a colony of England and basically owned by a company called the East India company with military enforcement. The people had no representation and also were forced to pay taxes such as the salt tax that ghandi famously went against during the salt March.
Likewise, the united states back then was also a colony of India and had no representation as well as had to pay taxes from laws such as the stamp act. Their values in fighting for independence and free reign were very similar. So yes.
Create new trade agreements
The developed a division of labor so that people could help to do there own jobs and not interfering with others.
One of the main ways in which the XYZ Affair helped build the country's armed forces was that it brought the United States and France close to an armed conflict, which forced the US to prepare its military and military supplies.