No, in fact there are some hilarious and ridiculous inventions that have been patented and maybe never sold a single commercial unit.
The basic requirement for patent is the invention should be novel, non-obvious and useful. So, the invention is not necessary commercially practicable, but it should have usefulness means it should have some benefit to the society.
http://indiapatents.blogspot.com