Are there any tool that can help me write japan by hand or apple pen and then translate to char or string value?

Are there any tool that can help me write japan by hand or apple pen and then translate to char value?

actually i just want to write some app that let user write hiragana for some eng word


something like google translate that let me write some char and translate to char as input in inputbox

Apple Pencil’ Scribble on iPadOS 15 support Japanese.

Also, I think this might be irrelevant to Swift