Is there a way to automatically add pdf bookmarks with offsets?

If there are existing bookmarks like this

bookmarkA 10
bookmarkB 15
bookmarkC 18

Is there a way to automatically create the following additional bookmarks:

bookmarkA-p1 10
bookmarkA-p2 11
bookmarkA-p3 12
bookmarkA-p4 13
bookmarkA-p5 14
bookmarkB-p1 15
bookmarkB-p2 16
bookmarkB-p3 17
bookmarkC-p1 18
bookmarkC-p2 19