Yes, but you need to check with local authorities. If I recall correctly, years ago in CT, I needed to fill in a permit at the police department.
Basically, the number of tickets sold must be in-line with the value of the prize and the odds MUST be published and accurately accounted for. That is, you can't sell 100,000 $50 tickets for a $20K prize.
DISCLAIMER: I am not a lawyer (IANAL), so do your homework ;-)