The obstacles to third-party or owner repair, in electronic devices, come in layers. Forcing companies to make public assembly diagrams, schematics, parts lists, and authorized vendors for every part is just a start.
Next comes specialized tools. This ranges from security Torx screws holding things together to the solder stations needed to replace surface mount ICs with scores of "pins" and the whole bottom of the IC being the ground "pin". ICs with .050" pin spacing is not the only difficulty with surface mount devices. How many here have eyesight equal to working with 0402 or 0201 resistors and MLCCs? 0604 or 0805 are about my limit. Assembly microscope time!
Getting parts is another gotcha. Because so many electronic devices are assembled in Asia, Asian sourced parts are used. Some parts, like resistors and MLCCs are easily crossed to parts available in the US or EuroLand. For other parts, equivalents would have to be found, not too hard for MOSFETs and rectifiers but kind of a crap-shoot for magnetic cores. Some ICs are standard and multi-sourced, easy. Others are sole-sourced, and the source is in Taiwan or China, not easy, at best. Some ICs are custom parts, patented by and sold only to the maker of the device - getting those won't be fun!
Next layer deeper ... many ICs are programmable, programmed by customers, or programmed by the maker of the electronic device. So being able to buy a CPLD or microcontroller from Digikey doesn't solve the problem. The repair person has to program it - more special equipment and finding a way to get the firmware code.
Those are just problems for countries like the US or in EuroLand. Parts, equipment, and instruments availability in places like India or Turkey or Brazil sucks!
"Right to Repair" is a nice concept, but fraught with complications.