As others say, gripshift will work. I run a NX and a GX 11 speed gripshift on 10 speed shimano on two of my bikes, one with a 10 speed xt mech and one with a 11 speed xt mech on the 10 speed cassette. works pretty well.
it does mean your shifting will be backward, i.e. rotate away from you to shift into larger sprockets, but I’d say that it’s a better way of doing it. I used to run gripshift 9 speed with a rapid rise mech and being able to shift into an ‘easier’ gear whilst moving your hand toward the brake lever makes for quick changes when approaching sudden inclines.