I wouldn't, just because you never know what type of infections it can cause! I have tons of piercings but I don't think I'd get one while pregnant since risk of infection is high! It's not worth risking it
You're safe to get piercings, just be SUPER careful with infections.