Putting fuse box under the hood

As long as it's properly covered, there's no problem. The factories have done it for decades. As mentioned though, moisture is a big problem and also heat. So locate it accordingly.