If all you have on hand is corn flour, then yes, for sure you can substitute corn flour for cornmeal. Corn flour is a finer texture, and will change the texture of your finished cornbread.