I have hunted over bait and killed deer in doing so. It is legal here in Ohio. My attitude towards it has changed over the years.
In the urban/suburban areas I hunt, it is useful in drawing deer to the small parcels I have available to hunt where there is no natural food source but plenty of deer in the surrounding national park.
Where I hunt in southern Ohio, where there are hundreds of acres of huntable National Forest, I would never consider it. Shooting deer over a pile of corn is not the same as taking one moving naturally through the forest. Period. I do it to fill the freezer and accept that. I do not consider it the same as taking a deer down south.
In the end, it is a matter of degree and everyone makes their own choice as to what they can live with. Hunting a natural food source like acorns from a tree stand or ground blind is considered acceptable. Hunting a planted food plot from a tree stand is also ok but borders baiting as the food source is created. Hunting a bait pile from a tree stand is another degree and to some, less acceptable, although it is not that much different from the first two scenarios.
Where the question really comes in is when you take it a little further. If you hunted a bait pile from a heated outbuilding/shed, is it the same as hunting a bait pile from a tree stand? What if you hunt a bait pile from the back deck of your house? Or through the open patio door of your kitchen?
All of the scenarios except the first involve shooting deer over a created food source. Not too many folks would ever think that the last two scenarios would be thought of as ethical hunting. Or any kind of hunting really. But all of them involve shooting deer from a concealed location over a created food source.
I have not found that baiting makes the deer around here go nocturnal. Quite the contrary. Here, they still move early morning and late evening. They will run in to the sound of an electric feeder.
In the end, I would rather shoot a deer, any legal deer, in the woods moving naturally without using bait than shoot a trophy buck over a pile of corn.
Just my opinion.