Yes, it is possible to photograph a pet indoors. However, it is advisable to use ambient light when photographing a pet to help keep the eyes sharp.  That means you'll need a lens that can shoot sharp and clear images using the available ambient light.