I have a big book of letters from American soldiers from every war and a lot of them definitely acknowledge the war was about slavery, as well as both sides not seeing the confederacy as Americans anymore. They even called going into confederate territory as going abroad.