I wouldn’t count on it. Some garden edging has been known to help deter runoff from getting into basements, but we would suggest seeking alternative methods for preventing water leakage. If it isn’t leaking in though, it may present a cheap alternative to at least attempt before paying top dollars for having professionals come and evaluate it.