RealityView Attachments

I have a RealityView and I want to add an Entity with an Attachment.

Assuming I have a viewModel manage my entities, and the addEntityGesture() will add a new Entity under the rootEntity.

RealityView { content, attachments in
    // Load initial content
    content.add(viewModel.rootEntity)
} update: { updateContent, updateAttachments in
    //
} attachments: {
    //
}
.gesture(addEntityGesture())

I know that we can create attachment in the attachments closure, and add those attachments as entities in our make closure, however, what if I want to add entity with an attachment on the fly?