You will wind up with a melted plastic bag and ruined food.
When you're boiling a pot of water, keep in mind that only the water is necessarily at 100 C (because above that temperature it changes state and boils off as vapor). The pot itself can get hotter, especially the bottom if you're using a conventional stovetop that applies heat from the bottom of the cooking vessel.
The plastic on a standard zip-lock bag isn't designed to take high heat; it could soften and warp even when exposed to 100 C. If you use something to weight down the bag such that it's in contact with the much hotter bottom of the pot, the bag will melt all over your food, and probably rupture so that you'll have to clean the pot anyway. (That is, if the expansion of the remaining air as it heats doesn't overwhelm the seal and pop the bag open before then.)
Don't do this. There's no benefit of convenience to be gained, just a lot of frustration and ruined meals. If you want to boil something, just boil it in the pot.