Yes this is a hyperbole as others have pointed out and yes you can use it like that in a sentence.
But let me get this clear because this is a mathematical error I've seen in multiple answers:
When something is ridiculous more efficient than something else, it approaches infinity. If one solution does work and the other doesn't, then it isn't infinite times more efficient, it is undefined times more efficient.
Efficiency is the ratio of a quantity compared to an other quantity. Infinity is not a number and ergo cannot be used as a quantity. It just doesn't make sense.
If I run 100 meters in 10 seconds and somebody runs twice as efficient as me, it will take him 10/2 = 5 seconds. If somebody runs infinite times more efficient than me, how long will it take him to run 100 meters? Not 0 seconds, because that would mean that 100/0 = infinity, and
something divided by zero does not equal infinity!*
*Unless you use Javascript. In that case you can be infinite times more efficient if you do it faster than 5,56-308 s