Is there a way to configure custom keyboard layouts?
One way to do this (although I can't say it will be too easy) is to create your own custom IME (input method editor).

While it may seem like a daunting task, and there is a good chance that it is, you aren't the only one who wants their own input method. So here is a pretty popular Stack OverFlow that could help you out: How to develop a soft keyboard