mmmm yeah I’d have no issue buying and riding, however
The frame won’t be “as designed”
A properly designed carbon frame will have different layups and thicknesses in different places, saving weight and building in stiffness or flex as the designer intends
A repair, yes will be effectively stronger than the original, but you will lose this designed in flex as the repair will be stiffer than surrounding.
This may lead to other parts of the frame flexing in response, meaning the frame will have different ride characteristics to those intended by the designer
You pay more for a high end carbon frame for these designed in ride characteristics and not just for the badge.
So if you are happy to forgo the full “experience” of a high end carbon frame then yes buy it – but it would have to be cheaper than an equivalent, and the impact on ride quality equivalent to the ride of a frame in the new lower price bracket.
Extreme example but its a bit like buying a santa cruz hightower and then fitting a coil shock from a kiddies URT bike.
The bike will be compromised from the original design – whether it is perceptible to you or not is a different matter.