Level shifting 3.3V to 12V without inversion

Yes


You could invert the code logic in your sketch.