Yes, the National Union Party was the temporary name used by the Republican Party for the national ticket in the 1864 presidential election, held during the Civil War.
But the reason for not calling Lincoln a Republican? Our government school grads aren’t taught that he was the party of the Republicans and the KKK were the party of the Democrats.