I don't know if this available in your corner of the world, but I've seen shops repair the splines .
A bead of metal is welded to the existing splines and then machined down .
After first grinding away the weld bead and pressing the spline gear out of the crown gear. As you might imagine, any freshly welded on and machine splines
must match up correctly with the splines on the rear wheel.
A few months ago, I assisted a friend in getting a
new spline drive installed in his R100/7 crown gear. Same as above: grind away the weld, press old out and new in, then weld. The rear wheel had been replaced just prior to the bike being sold to my buddy.
Those splines were as new.
This is the worn out spline gear from the final drive case. Splines were nothing more than "pointy nubs". For comparison, note the remaining splines where the wheel's splines were not engaged.

New spine gear pressed in and welded by Bud Provin's shop. $470.00USD not inc freight both ways.

Airhead David handled the removal of every speck of old gasket material from multiple surfaces.
"Nope. Not clean enough. Keep after it." New drive splines and crown gear await.
