Yes it will work, just make sure there is at least under 1% oxygen by volume inside the bag around your head, you don't need anything, all you need to do is, if it's from a bottle or reaction in a bottle, make sure to not do it in a bottle and instead do it in a completely deflated bag to push all air out and also separate the things you need for the reaction to produce chloroform (like each individual different chemical on each 1 cup inside the bag) and then while still in the bag, you should be able to use your fingers outside of the bag to make the cups go upside down and therefore make the reaction happen, if it's not from a reaction, assuming it's a pure chloroform bottle, open the cap, push out all the air from the bag and then use your fingers and hand to wrap the bags opening line tight around the bottles opening and wait for it to fill, if it's not in a liquid form, something like a gas tank, just deflate the bag completely of air to make sure it's empty and then wrap the bags opening line with your hand on the gas tank's opening where the gas comes out, and then let it fill the bag, if it's something else, just make sure to try your best to not add any air and/or if the chloroform has oxygen added, or anything that makes oxygen, will make your method fail or be painful.