Yes, it is possible for both infrared (inferred) and visible light waves to heat up objects by making the atoms and molecules within those objects move. This process is known as absorption of light energy.
When light waves interact with matter, they can be absorbed, transmitted, or reflected. When light is absorbed, its energy is transferred to the atoms and molecules of the material, increasing their kinetic energy and causing them to vibrate and move more vigorously. This increase in motion corresponds to an increase in temperature.
The amount of heating depends on various factors such as the intensity and duration of the light exposure, the properties of the material, and the specific wavelength of the light. Different materials have different abilities to absorb and retain light energy. Some materials, such as metals, are good reflectors of visible light and do not absorb much of it, while they may absorb more infrared light. On the other hand, materials like dark-colored objects tend to absorb more light across a broad spectrum, including both visible and infrared light.
Infrared light, specifically, has longer wavelengths than visible light and is known to be particularly effective at heating objects. This is why infrared radiation is often used in applications such as cooking, heating, and thermal imaging.
So, given enough time and exposure to a sufficient amount of light energy, both infrared and visible light waves can heat up objects by causing the atoms and molecules within them to move more vigorously.