In general, one cannot say whether a purchase or not.
It always depends on the condition and care of the car.
For example, my car is:
120d e87 LCI (built in 2010) with 140 tkm whereby I have been on the road for 70 tkm with chip tuning (220hp) and a PPKit previously installed by BMW.
Clutch, timing chain, etc. are all still from the factory and nothing had to be renewed except for the series. Car is also well maintained. I know the car very well. You could buy this car without any problems, but I want to continue driving it myself ;)
However, you have no clues as to how the car offered has been driven and maintained over the years.
Everything can be OK with the car, but it can also end badly. There is and remains a residual risk from when the repairs will start. However, I hope that your decision will be the right one for you.
I wish you success :)
My advice to you ..... Have the car checked professionally and try to keep the purchase price as low as possible. In any case, this reduces your risk, but it cannot be completely stopped.