If the unionists had won and the Imperial Federation was created, would the British Empire still exist today?
I have a feeling India probably would have still desired autonomy
No, because somehow millions of people rejecting imperial rule wouldn't have been changed by minor appeasements and government changes.
I presume you mean perhaps Canada and NZ in the empire, but not now. Their sovereignty would be necessary to promote economic ties with the US and China respectively.