No, it would be best if you didn't pet a police horse; they are on duty and are not pets. However, some departments have meet and greet periods and allow civilians to pet their horses.