No, it’s not safe to put formula straight into boiling water. Boiling water is just too hot and can kill the beneficial bacteria and nutrients found within the formula.
It also increases the risk of burns or scalds. Instead, you should prepare the formula according to the manufacturer’s instructions and then warm it using a safe method like a bottle warmer or warm water.