This is a theoretical question, I have no plans to bake my own Matza.
But could you get flour and make Kosher Matza DURING Pessah (any time during the whole week)? Is there a law against it, if it's for the needs of the holiday? Is there a law not to "own" raw flour? Or any other reason?