I have spoted many am6 bikes with inner rotors, so i though,if am6 works on ktm's sx50 rotor,could KTM run on am6 stator/rotor and cdi?

I found KTM EXC300 with bad stator i guess,its hard to get OEM parts for it,but i could easily install am6 kit.Will it work?I know i wont get so high revs(if so),but should it work to like 12000rpm?