Hi Chris, I am sure it has been done before but I would guess, not easily. I am no pro and there are a lot more qualified people here to give you a better answer. I think the space between the rails, infront of the firewall and the limitations of the cab floor would make it a challenge. Seems as though a lot of folks do it like Kiwiwilly did with is most awesome truck, https://www.flickr.com/photos/86936723@N04/
and put the motor behind the cab.
Which ever way you go, good luck with the project. I look forward to seeing your build.