I am confident to tell you that there is nothing wrong with the sentence itself, and your sense of language is good. It's just that the first time I learned it, I changed it to do, which was smoother. As for whether what you said is learning or learning is the wrong answer, you should use the verb prototype, that is, learn, because this sentence is the subject clause, that is, everything I want to learn (do) as the subject, followed by the be verb.
Read another sentence (original book, university)
At that time, all she could do was pray and worry.
-Excerpted from Unit 3, Book 1 of 2 1 Century College English Reading and Writing Course (Fudan University Press)