Here are some fascinating examples of art showing the painting within a painting being painted by the painter painting the painting in which artists include themselves painting something.
Putting a painting inside another painting is similar to an art idea called the “Droste effect”.