A noise machine hasn't made me a good sleeper by any means, but it has made me a better sleeper.
As a certified bad sleeper, I have tried nearly every strategy and device that can get a person to fall asleep (and stay asleep), at least as far as internet theories can get me.