Is it safe to get braces while being pregnant?

Sure. You're not eating anything you aren't supposed to or doing an activity you're not supposed to do while pregnant. As always, if you want to be extra sure then ask your doctor.