Yes, it can be, but I really want to wait for the Attachment stuff for composer to land, and then there will likely be a better place to share this logic.