Yes, you can (see what I did there), although, frozen corn is a much better substitute for the crispness of fresh corn. My recommendation would be to use canned corn as a last resort. If you use canned, make sure to drain it completely. Fresh corn is sweeter than canned or frozen, so when you taste for seasoning, you may add a little more sugar. Fresh corn also gives you a good amount of “corn milk”, which is the starchy white liquid that comes when you cut the kernels off the cob. The addition of corn milk helps with the thickening and creaminess of the final dish.