The experience of flow has been studied amongst surgeons, writers, artists, scientists, athletes and people just socialising and playing games. The experience of peak performance is very similar, whatever the activity.
Flow states require a balance, though, as Mihaly Csikszentmihalyi says in his book on the subject, Flow: The Psychology of Optimal Experience:
“Enjoyment appears at the boundary between boredom and anxiety, when the challenges are just balanced with the person’s capacity to act.”
The article does a good job of briefly describing what _ flow _ is and the conditions required to achieve it. Reading Csikszentmihalyi’s book obviously provides more depth with interesting case studies, research results, plus some of the author’s philosophical views. Wikipedia also has a decent summary offlow.