1. Kuma's brain is driven by programming and commands not biological functions
There is no veracity this claim. Kuma specifically has Surgical
Modifications, which does not equate to being a fully fledged robot-- especially since he is a confirmed Cyborg. There is a huge difference. And, again,
we do not know the extent of the cybernetics on Kuma's brain. Trying to shoehorn the idea that Kuma lacks any degree of cognitive agency in any capacity is incredibly contradictory to his most recent actions in the manga, no matter how you want to spin it-- also considering the lack of direct evidence that Kuma can resist mind manipulation in the first place.
How is Itachi going to put into Genjutsu a consciousness that no longer exists? (Kuma receives orders, he does not make decisions, his personality has vanished from his mind - How is Itachi going to put into Genjutsu a consciousness that no longer exists?)
By either pointing at, or looking at them. It's also layered. Why do you think that a consciousness is required on an individual who still retains a cerebral nervous system and five senses-- which Genjutsu directly controls?
Genjutsu has also worked on individuals that lacked a consciousness before anyways.
A prime example of this is when Jiraiya immobilized Pain with genjutsu. Genjutsu as a whole isn't mutually reliant on affecting consciousness anyways either-- it affects Consciousness and
Perception-- with varying applications. Another example of this is when
Sasuke fooled Danzo into believing he had another use of Izanagi, by masking Danzo's arm with a fake eye.
Oda has also handwaved that Kuma's mind may still be there (
scan below ). Thus the uncertainty of what you're trying to push at this point in time. I disagree with your suggestions here, and we already know that Pacifistas are Cybernetic Clones of Kuma. There are also Pacifista types, such as the Seraphim, that retain a degree of agency to quantify having a consciousness and individual personality-- and are Cybernetic Clones of the Warlords. Kuma also hasn't had any confirmed, further modifications since the Marineford War-- and it goes without saying that he's considered shovelware by the World Gov. at this point.
2. Kuma does not have biological eyes. The scan posted above does show blood coming from Kuma's ocular region, but that doesn't mean his eyes haven't been changed.
In fact, when the image is zoomed in on Kuma's face, we can see what appears to be the cybernetic core of his left eye — the blood is not coming from his eye, but from his face, as Kuma still has a human part, it is entirely plausible that his cybernetic eye is retained by tendons and muscles (which have clearly been damaged in this scan). There's also is a noticeable difference in Kuma's eyes when he was human, and when he became a Pacifista. After surgery Kuma's eyes do not have pupils, he doesn't blink, his eyes shine and they have a red core.
Kuma is a pacifista and pacifistas themselves can obtain information with their cybernetic eyes and target enemies. Pacifistas are almost entirely based on Kuma, so it is plausible that Kuma
shares this same ocular trait.
This only really proves that his eyes have been cybernetically altered-- not the integrity of his cerebral nervous system, his optical nerves, or the biological integrity of his brain.
(Kuma receives orders, he does not make decisions, his personality has vanished from his mind
Kuma has actively defied the orders of Akainu, and his former captors at Mary Jois. There's also the scan above that contradicts what you're saying here-- alongside huge outlier to the "immunity to pain manipulation" listed on his profile, seeing as he's showing signs of expressed exhaustion, even recoiling at having his foot disintegrated in that same chapter. It's evident that these are pained reactions, else he wouldn't react so viscerally.