The condition of your boiler will determine this. Yes, if the parts needed to repair your boiler are readily available on the market and your boiler is between five and ten years old.
However, if your boiler is older than 15 years, it may not be possible to repair it, so we might advise replacing it with a new one.