Surgery for the earlobe can be a cosmetic of reconstructive plastic surgery procedure performed to restore or revise the appearance of earlobes (one or both) This is done for earlobes that have been injured or stretch due to ear tearing, trauma, or piercing, including the insertion of ear gauges (or can be done, as you asked, to simply change the appearance). This can also be called earlobe reconstructive surgery or split earlobe repair. If it is done for cosmetic reasons, it will not be covered by insurance.
It is certainly possible to make a detached ear attached; there are a variety of methods to reduce earlobe size but for both options it would be important that you are seen by a plastic surgeon experienced in ear profile surgery to make sure you achieve the best possible and natural looking aesthetic outcome.best wishes