Not sure what you want to do exactly…
But yeah, install WordPress. Put an attachment on a post. Put custom fields on that post. Now display that post where-ever you want, calling in the attachment and whatever custom fields you wish to display. They are linked by being associated together with 1 post entry.
Let’s say you make a Page. You can call in all the posts that have Attachment. For example the Page might have a list,
Attachment 1 — Custom Field: Name of this attachment is ____
Attachment 2 — Custom Field: Name of this attachment is ____
If not that, can you describe what you want more?