Yes, but it’s very small rate of change, and it is almost perfectly balanced with an equal loss.
The total power of all the sunlight striking the earth is $\pi r_{earth}^2 {solarirradiance} = 173.9 PW$, divide that by $c^2$ and we get $1.935 kg/s$.
However, a lot of this is simply reflected, and even that which is absorbed is almost perfectly balanced by an equal loss of energy in the form of re-emitted thermal radiation. The small remaining difference is things like organic carbon sequestration — the sort of thing that will form new coal and oil deposits over million-year timescales.
The Earth is also losing mass as the radioactive elements slowly decay. I wouldn’t be surprised if that turns the whole thing into a net loss mass, but I don’t have concrete numbers to hand.