I have a lvl. 52 Haunter in Pokemon and want Destiny Bond.
If this is Sword and Shield, yes, as Gengar learns Destiny Bond at level 54.
If this is any game before SwSh, like Sun and Moon for example, Gengar learns Destiny Bond at levels 50 and below, so no.
Source: Bulbapedia: Destiny Bond