How do I add an attachment to an existing pdf?

I’m merging several pdf’s however instead of creating multiple pages, I’d like to add the additional files as attachments. Is there a function available to do this request?