Once you pay over your cash, it belongs to the lottery commission. Your chance of winning is infinitesimal to the point that you may as well spend your money on other things, like paying down your mortgage quicker or paying off your car quicker or whatever other debts you have - either way, the money is gone - unless what you're getting out of it is that period between purchase and draw - the _hope_ of the win, you're likely getting nothing out of your purchase. If you're getting your emotional high from playing rather than the hope of winning, then perhaps the $5 is a good purchase, it's hard to say; otherwise, I'd say it's better spent on something the _does_ have a financial or emotional reward.
Either way, I'm not really clear on what your point is... perhaps you can clarify.
It may not be worth the $5 even if it does give you an emotional high — perhaps especially so. I am reminded of http://lesswrong.com/lw/hl/lotteries_a_waste_of_hope/, which argues that winning the lottery is the wrong sort of hope to invest in, both financially and emotionally. I found that article's argument convincing.
Day dreaming is a means of escaping your existing reality... but if you take no action, then your day dreaming is just that. You need to take action to give any possibility of it ever becoming more than that. In this case, the $5 for the ticket is that step. Perhaps the fantasy is what you live for. Perhaps you spend your life with your head buried in romance novels, who knows, the effect is the same - you paid $5 for the book which gave you a few good hours of day dreaming, or perhaps even a number of days of escape. The lottery ticket gave you a couple of hours escape before you come back to reality. It's just a pleasant way to pass the time. You can tell just how many people have this mindset by the number of copies of Fifty Shades of Grey you saw being read on public transit after it came out.
Exactly - if the loan shark has his legs broken and is robbed of his ill-gotten fortune, how immoral is that?