Sure you can. The main issue would be if you have a row spacing that would be compatible with the combine corn header that will be taking off the crop. (Unless you are just going to run in some sweet corn for personal use.)
If the spacing is correct, you just have to block off the feed cups so the corn doesn't drop into them. We use duct tape for that purpose.
The other issue is if you plan to punch in a lot of acres, you are going to wear the drill out faster. The shoes and discs are costly so you don't want to be replacing them sooner than you need to. The other issue is soil type, if you need to run it into clay then you'll need a lot of extra down pressure (or weight) to get the corn down deep, unless you are not too worried about getting the corn in deep.