Perhaps, but “ring” mythology shows up all over northern European written history, which Tolkein clearly studied and attempted to emulate in part. It’s hard to say what, exactly, was the primary inspiration.
I think it was Wagner’s ring music and its impact on the nazis which inspired tolkein.