My experience with JB Weld™ shows that it can be used in this context. I dropped a BMW K1200 motorcycle onto the left side, where the valve cover is, and punched a hole in the bottom of the cover, allowing oil to escape. I was in the middle of nowhere and had to make a fix on the spot. A friend that was riding with me had some disposable diapers that he used to clean his face shield, I cut a piece of that and embedded some of the JB Weld™ into the fabric, then affixed the patch to the cover after wiping it with gasoline to clean it. Many thousands of miles later the "temporary" patch was still in place and oil tight!
Do not underestimate the power of JB Weld™!
"The Buddha resides as comfortably in the circuits of a digital computer or the gears of a cycle transmission as he does at the top of a mountain."