You, as a player and not a dev, cannot say definitively that players can't get banned for this. It's likely that it won't get people banned, as you pointed out it's similar to how programmable keyboards or mice work. But you shouldn't tell people they cannot get banned for something unless you have a definitive source for that comment.
Imagine if they started banning people for coming up with a solution to a problem they created by using a sub-par game engine and failing to include basic control options that should be standard in any modern pc game? That would be funny!