Yes!
All you have to do is ask the question "would the north have fought to keep the south if the slaves had been freed?".
It is liberal propaganda that says the war about slavery, but don’t let that change your misperceptions.
It was about federal power vs. state’s rights and had been an ongoing fight ever since the nullification crisis of 1832.
Of course, the side of freedom lost in that war in tyranny prevailed but slavery is used as a convenient rhetorical dodge to cover that. Never mind the fact that Lincoln never freed a single slave in any state that remained in the Union.