“Dab it with epoxy on both sides, slide it between the inwale and hull, and clamp?”
To answer Glenn’s question, I think an epoxy bond, even G/flex between a vinyl or aluminum gunwale, would eventually fail from the stress, torque and twist of the D-ring flange.
I could try that as a further...