Make custom post type a media library

While a Media Item is stored as a semi-regular “post-type” named attachment, the edit page and the scripts that get called when you want to edit or upload an attachment are completely different. You won’t be able to recreate the media library without some SERIOUS programming efforts.