All that matters is the muscle is stimulated enough to cause growth
Can you do this with cheat reps? Yeah
Squats and deadlifts? I dunno how you cheat a squat or a deadlift really. I don't think it's possible. Cheating back exercises will be fine, you can easily get a full contraction of the lats and rhomboids this way. Same with biceps, even if you lift it with your shoulders you can still flex the biceps maximally. Most muscles you can do this just fine. Then apply volume and the growth will happen. If someone says you're not training your shoulders if you only do the top end partial of an overhead press, they are just talking out their ass
Obviously there is the right way to do this and the stupid way. It doesn't mean you can do 1000s of reps with 1" of ROM and a really heavy weight, but it wouldn't surprise me at all if someone got good results doing this