Absolutely! Yoga is whatever the instructor or the participant makes it.
For me, yoga is not about exercise in the traditional sense. It is about pain management. I have very tight hamstrings (both) and a tight piriformis on one side. If those muscles are not stretched regularly, then I experience constant pain in the knee & buttocks. Consistent participation in a yoga class with poses that target those areas relieves the pain. I focus on my exhales to help deepen the poses.
If I do not focus on the meditative/spiritual aspect, is it still yoga? To me, yes.