Yes dear, you can definitely have it! I had so much corn chat during my pregnancy, especially in the evenings, and went on to have a super smooth normal delivery. Just keep moving, stay active, and eat whatever fresh food you feel like.
Oh god, during my first trimester, boiled sweet corn was one of the very few things I could actually keep down! The mild taste is really easy on the stomach when you are throwing up constantly. Definitely try having it plain with a bit of salt, it might really help you deal with the nausea.
Corn is totally fine and actually super cheap to buy from local vendors. I used to buy a couple of bhuttas, boil them at home, and have them as a healthy snack. Honestly, save up every rupee you can because those late ultrasound tests and hospital booking charges are huge, so eating healthy home-cooked stuff like corn is a great budget saver.
I can only speak for myself, but I literally lived on sweet corn soup and boiled corn with butter during my second trimester! It never caused me any issues or stomach upset. Just make sure it is cooked nicely and fresh, that is what worked for me.