If you plan to keep the vehicle for at least a few years then maybe it would be an ok deal (depending on the asking price). Otherwise you will probably not be able to sell the Tesla Model Y for top $ when the vehicle history reveals that it has been in an accident and has been repaired. Personally, I would keep looking. There could be problems after a time with water getting into places where it can cause issues with the sensors, head light, turn signal and other components.