I've used a bunch of open source Japanese keyboards: Mozc[0] (might be related to Gboard? haven't used gboard but the app is based off the same source code that powers Google IME), nicoWnnG[1]. I'm not sure how well they fare compared to proprietary keyboards but they've been good enough for my occasional use of Japanese.