Usually you just have more batteries in series to get a higher voltage.
That's true but I can only fit 6× 12v battery in my application so is there any better option?
What batteries are you using? Is it possible to use more, smaller batteries?
Can't you get a lower voltage/higher current motor?
It may be fun to hack what you have on hand to fit your application, but it certainly isn't good design practice. It seldom works out cheaper or more reliable than buying the correct components, in the first place.