Of course they can. A police officer off-duty (out of uniform) has just as many rights as any citizen.