Writing, listening, watching a film and navigating a new place all require attention as they're novel activities. But I could easily make a shit paper aeroplane while navigating, and I've coded through pure muscle memory plenty of times. Almost any activity can be internalised.