Not related to Firefox, but more of a new product idea.
I'm not aware of any keyboard app that could be considered as private by design. It seems the market for this is dominated by Microsoft with SwiftKey and Google With GBoard. It would be good if Mozilla made a keyboard app that was private but still had the features of the most popular keyboard apps.