Netgain has some double-ended shafts specifically designed EXACTLY for adding in-line with a truck rear driveshaft.
They even have a black box (the EMIS) that connects to your OBDII that will control the motor added to an automatic transmission truck to make it into a hybrid.
Check out their motors and the EMIS at their web page:
TransWarP Motor Information
-Ben