Will your 5HP motor stand up the cuddy? If it does, I recommend a Campbell motor mount type solution. It works well for us by keeping the motor secure and (mostly) out of the way. I recently replaced the plywood mount we made a few years ago with a plastic one (link).
Our small outboard stands in the cuddy with only a few inches clear at the top. I’m not sure if a larger outboard would fit.