Yes, light can bend through diffraction and refraction. Diffraction is when light bends around a corner or a small opening and fills the larger space beyond it. Refraction is the bending of light when it transitions through different mediums, such as light seen in the air and entering into water.
Light travels at different speeds through different mediums, which causes refraction. When light passes from one medium to another, it slows down or speeds up. This causes the light to bend. Refraction is responsible for image formation in eyes and in cameras. Rainbows are also a result of refraction, where blue light is refracted more than red light.