Anchor all images

In a large document with hundreds of images, is it possible to anchor all of them “To Paragraph”, without having to adjust each individual image? At the moment, they are anchored in several ways.

Thank you.

It is possible by a custom macro, or by this extension:
https://extensions.libreoffice.org/en/extensions/show/change-multiple-images-in-writer-pictool