No, you can apply for a Green card lottery visa and a tourist visa at the same time. Also, if you are on a vacation in the United States, you can still apply for the lottery given you fulfill the eligibility conditions.