Now you have really gotten me thinking about this. If I was designing a system for myself, I would do it like this. It sounds like overkill but if you really think out all the steps, it helps to identify problem areas before you start. It helps you to focus to determine the best solution.
1. Identify what I want the thing to do.
a. Replacement for an emergency generator for the house. When the power goes out I want to be able to power the fridge, Ham radio, recharge phone and some laptops, and few lights. 4kw should be enough.
b. Run some small equipment while camping or RV'ing. Charge some equipment, run an RV fridge, Small RV AC unit, charge batteries, Radio/TV.
c. Run a dog grooming trailer. Small AC unit, clippers, blower, vacuum, charge batteries.
2. Identify an inverter that will meet my needs. I was thinking of a unit that outputs both 120 and 240 split phase like typical residential power. Some units also have a built in battery charger for when shore power is connected. Also when talking about a pure sine wave unit, they fall into 2 classes, those that can handle a lot of startup current and those that can't. The difference is in how they are constructed. The cheap Chinesium one's typically cant provide much startup/surge current. I was looking at this one but it is probably overkill. Big, Not Chinese, and heavy duty does NOT = cheap.
https://theinverterstore.com/product/4000-watt-pure-sine-inverter-charger/
3. Order the inverter and start design of an enclosure. I think a splash resistant enclosure is going to be good enough. If it is in the back of the bed with a bed cover on, it should get minimal exposure to water. An IP54 enclosure will allow the unit to be cooled with the outside air but be protected from the elements.
https://www.nemaenclosures.com/blog/ingress-protection-ratings/
4. Define how the unit will mount in the truck. I could go with making a completely portable unit in a case with handles so that I can use it anywhere. Or permanently mount it in the truck, either way. Personally, I would lean to the idea of making it portable with a frame in the truck that it sits in. Think Jerry can mount. Maybe something that bolts to the side of the bed but folds up when not in use.
https://cdn.shopify.com/s/files/1/0..._Can_Holder_10L_01_1000x1000.jpg?v=1552065656
5. Determine all the necessary parts and build a Bill Of Materials and order them.
6. Define the wiring diagram and test it.
7. CADD the enclosure and all the other necessary parts.
8. Fabricate Fabricate Fabricate.
OK, I think this is my next project. I will create a new build thread to keep track of where I am in the process.