No, harassment is a violation of the norms of a professional workplace. If it only happens once, it still happened. It might not always be a firing offense, but at minimum it requires management to intervene and reset expectations.