This bit is really interesting. This is one of the motivations for an open source Chinese IME framework called RIME: https://rime.im There are configurations available for a number of dialects like Suzhou or Shanghai dialects so that users who prefer those languages don’t have to use Mandarin/putonghua pinyin.