Yes, and President Jackson referred to Washington's Farewell Address when expressing his warnings about secession. I think it was in his second inaugural address.
The Confederate leaders never attempted secession when Jackson was president. Undoubtedly, he would have hung all of them.