Nothing wrong with having a t-5. If I remember correctly it has a granny low 1st gear.
You can try Novak Industries, or Advance adapters for the correct input gear to match the 2 together.
The only problem that you will probably encounter is needing new drive shafts made because of the different lengths of the drivetrain.
'87 YJ, 4.2L built and bored, 8.5" of lift, 8.8 rear, AX15/NP 231, Tom Woods drive shafts, Flat fenders, 12,000LB winch, Custom bumpers, Rattle can paint job. Never completed...