From what I can find and from what I know, it is grammatically correct however French is not my first language. As an English speaker I would probably go “parler le français”
That would mean “speaking the French”, so while incorrect, I’m sure people would get what you would be trying to say.
Ok that’s what I thought thinking back on it. I don’t use french often enough to really be certain all the time