When you practice to learn about or refine your mechanics your focus should be internal. Not on the results. Your goal is to learn about your swing by refining your internal feedback and awareness abilities. What happens to the ball after you hit it, and whether it goes at a target or not, is simply data that can help you diagnose and interpret your swing better.
If you can’t feel something, you can’t change it. To change your swing, you must first develop an awareness of your swing around the aspect you wish to change.