Throughout Star Trek's run we see common use of medical bionics to replace unhealthy organs: Picard has a artificial heart where his was stabbed by a Nausicaan, Geordie has artificial eyes to compensate for his blindness and Vedek Bareil later gets many artificial organ transplants we also know that for the most part such technologies outperform natural organs in many ways.
In the TNG: The Measure of a Man we have this interaction between Data and Picard:
Data: Sir, Lieutenant LaForge's eyes are far superior to human biological eyes, true?
Picard: Mhmm.
Data: Then why are all human officers not required get their eyes replaced with cybernetic implants?
Data's phrasing here suggests to me that the option is available for officers if they choose it, it would also be in keeping with the Federation's policies of individual rights. That being said there is probably some medical risk with such procedures and they may come under the same law that bans genetic engineering.
If a Federation citizen wanted to could they replace a healthy organ or limb with a bionic one? If so why is the practice rather uncommon? Beta canon answers are acceptable.