I never tried it; but a good friend did about 60 years ago. She found a cocoon hanging on a limb. She broke off the limb, brought it inside & placed the broken end in some damp moss to slow down the dying process of the limb. We were sitting in her bedroom when the butterfly emerged from its cocoon. I guess it thought we were its mother because it followed us everywhere we went even flying up to snuggle our cheeks. When we entered the room, it flew up on our shoulders. Whoever walked in first got to be the mother for that visit. This went on for about 3 months when it accidentally flew out the door one day. It circled the yard for a day or 2 & then we never saw it again. I guess it was born to be wild!!!
We didn’t get any good pictures because back then not everybody had a camera handy because the developing fees were outrageous at the time & you had to wait over a week to see what you had captured. I bet that a decent photographer could get some really great pictures!!!