Yes. The resin material used to create tooth-colored fillings can be used to fix other flaws, such as tooth discoloration, small chips or cracks, eroded enamel or small gaps in between the front teeth. The resin is applied directly to the tooth and sculpted as needed.
Some people prefer this process (known as dental bonding) to other solutions like veneers because it does not require the removal of any natural tooth structure, and it can be completed quickly in a single appointment.