Yes, you can substitute cornmeal for the all-purpose flour. However, keep in mind that the texture and taste will be slightly different than if you used the traditional ingredients. The cooking time may also need to be adjusted accordingly.