Here in Europe are companies that can do things
Depending on current situation . But I believe that if you have one working " Legit " key.
It is a simpler routine. Otherwise it could be used by thieves.
there exists routines making other keys
I have done it for a Honda 2000 Fireblade H.I.S.S
It was a Polish firm and he got a picture off the key -- the one I had ..It was worn but it was the right one.
Sent me 2 new cut keys a special wire. instruction How to do it. Did it myself
Dont know much aout failure rate especially for other brands but it solved it for me.
https://motorcyclekey.co.uk/motorcycle-key-programming/
View attachment 233425
ebay have blank Ducati keys doing a search ducati blank key
I do beleive they do ECU s also if necessary