It works if you can hit upon the sequence of events to get some viral attention. Hitting HN at the right time of day, or getting some other attention among your target users. That can be a matter of chance but usually requires at least some effort on your part.
Just creating a product and a website with no marketing whatsoever is unlikely to get the attention of anyone.