Everything is legal, just like a mechanic replaces your engine for a leaking gasket.
Actually worse, the dentist has your signature on the agreement.
They cannot charge you extra for the same service provided by other dentists because your insurance won't pay or will kick them out of the network.