Hello Waveski,
It's your truck, you can mount that battery wherever you like. But, it's almost always easier to keep it as it was originally designed, as the parts can be readily purchased and just bolted on. That said, if you have the know how, the tools and you'd rather have it under the hood, I say go for it.
Welcome to the Stovebolt.
John