If I understand correctly, besides the spell checker, the dictionaries themselves are also open source.
Only thing is infrequent updates, for modern words, but I dont think that would be problematic.
Dont know the coding effort tho, with electron a dictionary is sort of a package-deal.