The issue really depends on how hard-science you want to be. If you are willing to introduce a significant amount of handwavium or some exotic process by which the ambient emissions of targets can be hidden against the backdrop of space (perhaps using some "otherspace", for example), then you are good to go.
But if you want something that at least gives the nod to actual science and engineering issues (even accounting for several TLs of advancement), then the problem is that space is big, vastly empty, and cold, and there is nothing to hide either behind or in the midst of.
Quoting myself from some other threads:
The problem primarily arises with the issue of Passive Sensors, as noted above, because the background of space is suffused with EM-radiation at a temperature of 2.7K (in the microwave band). The habitat of a ship (even one with its power plant shut down) is radiating at ~ 300K (in the infra-red). Even though there may be many emissions of all kinds of temperatures from distant stars and other sources, a passive targeting/detection sensor will also include the ability (by triangulation) to resolve the ranges of nearby signal sources. Picking up a random 300K EM-signal is one thing; picking one up that can be resolved to lie at a range of 100,000km clearly tells you that there is an object glowing in Infrared located at that position.
Now a missile or torpedo would not necessarily have to be at room temperature (and could theoretically be cooled to 2.7K), but its propulsion and/or power system would dump out significant amounts of heat that will radiate (or otherwise need to be re-radiated somewhere else). So to "suppress" heat emissions, you need to move the heat from the torpedo to "somewhere else" (which then will show up as different heat source).
The problem is that there is no surrounding "medium" to blend into, nor are there objects to hide behind. You are a glowing infrared-hot "lightbulb" in a vast 2.7K dark room. And the only way to make your glow go away is to transfer it to something else (which will then itself be glowing-hot).
(BTW, I am all for stealth in space if one can come up with semi-plausible, semi-scientific disbelief-suspending mechanism to do so

. You're just going to need some handwavium to do it).