Question: can illegal immigrants apply for green card lottery?
Answer: Anyone who is from an eligible country and meets the educational and financial requirements can apply for the visa lottery. That isn't the issue. The real problems comes if you are selected who do you claim the prize? An undocumented immigrant is usually not in lawful status.