I do enjoy helping people, which is why I (and Max, Gilad, the Georges, and everyone else) answer questions here. We help people with small items and learning the ropes. But we don't provide full custom solutions for free.
Now, if you have a simple bookmark structure, and you're not worried about hierarchy or multiple links to pages, then the loop just got simpler. You can find info on the Bookmark object and the doc.addWatermarkFromText function in the Acrobat JavaScript reference. These are the only two relevant Acrobat JavaScript elements you need to write a short automation script to perform this task. You can run the script from the console window. Find links to some of the details in my signature block below.
Thom Parker
The source for PDF Scripting Info pdfscripting.com
The Acrobat JavaScript Reference, Use it Early and Often
The most important JavaScript Development tool in Acrobat
The Console Window (Video tutorial)
The Console Window(article)
Having trouble, Why Doesn't my Script Work