There's an entire field of Adaptive Optics for Free-Space Communications (AO-FSOC) where the turbulence of the atmosphere is actively monitored in real-time, and the laser wavefront is pre-compensated to minimise the effects of atmospheric distortion.