Playing polyphonic music like Bach Fugues requires an enormous amount of focused attention and executive function.
Relying on muscle memory alone does not work at all for me and all musicians I know that play polyphonic Bach music.
[0]: https://onlinelibrary.wiley.com/doi/epdf/10.1002/hbm.20028