That may be the logic behind it but, purely anecdotal, of the several people I know who have dated at work and ended it they have been socially fine afterwards. There is a period of a month or so where they feel anxiety about seeing the other person but people are adaptive and the cope with these situations. Eventually they just become colleagues again.