Sure. But then 10 and 11 speed cassettes are quite cheap and increasingly rare in the (expensive e-mtb) scheme of things.In another thread someone posted part numbers for Shimano 10-tooth and 11-tooth cogs. Like a lot of things they do seem hard to find, and probably moreso because eMTBs chew through them pretty quickly.
The real issue is with 12 speed stuff…. Look it up ?