Certified GKH Gardening Expert
Yes! They do quite well together. There is a big caveat, though.
They are related, closely enough, that they will communicate the same diseases. Because of this, you increase the chances that you lose the entire bed to disease. However, if you are confident in your pest and disease management, there should be little issue.
When all is said and done, I DO NOT recommend growing them in close proximity. That is not to say that it can't be done, because they do grow very well together. But it will, most of the time, lead to the infection of both crops with SOME disease.