First train back to Halifax is at 5.48am from Victoria Manchester, get's into Halifax at 6.35 am
You can get a coach at 4am with national express on Chorlton street to Bradford and then get train to Halifax at 5.58 which takes 12 minutes.
Hope this helps.