I love cooking (I am a man and father); I don't have much time to do so anymore more, and my wife does most of it, but I try to when I can.
If children have a sound upbringing otherwise, they are given good instruction and examples by their parents in other parts of their lives, for example, working roles, general interaction of the parents, submissiveness of the wife, authority shown by the father, etc., there's nothing wrong with men cooking if it is intuitively clear by that point that he's not trying to 'play mommy'.