I also read about a tool on github but its from 2021 i think and i see no more updated info for 2022. As Joplin has matured over the years will this still work or are there better tools i have not seen!
Looking at OneNote export to Joplin - #16 by globetrotsky, I see that the latest release was in Oct 2022. (I haven't used it, though!).