The short answer is yes. Legally speaking, supervisors and managers are allowed to yell at employees. However, when that yelling is about or against a protected class, the yelling may qualify as harassment.