I have found some articles that seemed very interesting. Maybe you could take a look at them and see if they are related to your perspective.
Gareau, Alexandre, and Patrick Gaudreau. "Working Memory Moderates the Effect of the Integrative Process of Implicit and Explicit Autonomous Motivation on Academic Achievement." The British Journal of Psychology 108.4 (2017): 701-20. Web.
Grogan, John P, Govind Randhawa, Minho Kim, and Sanjay G Manohar. "Motivation Improves Working Memory by Two Processes: Prioritisation and Retrieval Thresholds." Cognitive Psychology 135 (2022): 101472. Web.
Groß, Daniel, and Carl-Walter Kohlmann. "Predicting Self-control Capacity – Taking into Account Working Memory Capacity, Motivation, and Heart Rate Variability." Acta Psychologica 209 (2020): 103131. Web.
Hill, Benjamin D., Joshua D. Foster, Channing Sofko, Emily M. Elliott, and Jill Talley Shelton. "The Interaction of Ability and Motivation: Average Working Memory Is Required for Need for Cognition to Positively Benefit Intelligence and the Effect Increases with Ability." Personality and Individual Differences 98 (2016): 225-28. Web.
Krawczyk, Daniel C, and Mark D'Esposito. "Modulation of Working Memory Function by Motivation through Loss-aversion." Human Brain Mapping 34.4 (2013): 762-74. Web.
Yüvrük, Elif, Aycan Kapucu, and Sonia Amado. "The Effects of Emotion on Working Memory: Valence versus Motivation." Acta Psychologica 202 (2020): 102983. Web.
Yes, though, the aspect you talk about memory is a cognitive skill, and motivation is an attitude. I think whether it affects concentration or focusing on something. Because it takes attitude to learn. If you can develop the thinking ability of memory, and separately the attitude. Good question