I have tried to do this, but most newer Kobo cannot due to CPU architecture support limitations.
https://wiki.postmarketos.org/wiki/Kobo_Clara_BWThe older ones which do are severely restricted in features, and often end up with several issues. Have you tried it personally?