I don't see why not. People drink tea from styrofoam cups, and that is made with boiling water and a tea bag. Besides, your food doesn't come in contact with the water in the container, so if it is chemicals leaching into the water you are worried about, it is a non-issue. If you are concerned that it might melt, I just googled "melting point of styrofoam", and wikipedia tells me that it is aprox 240 degrees C (or 464 degrees F). It will vary a bit depending on the exact chemical makeup of the item, but these are the ballpark numbers.