It is ill-advised to become romantically involved with a workmate and that’s why some companies have policies and guidelines against workplace romance.
However, clandestine flings at the office are not entirely unheard of. After all, you spend the better part of your day with these people, so developing romantic feelings for a co-worker isn’t all that inconceivable.