The idea that the rats are taking photos of themselves for the (self-aware) pleasure is pretty silly. The rats could have been trained to do anything with this method. Moving from rewarding every time for the desired behavior to occasionally rewarding causes the animal to keep doing the behavior for the reward. And if you stop rewarding entirely, the behavior will continue for a while, and it'll eventually stop. But by then the artist has made their point and doesn't care.