Yes, a skill contest can include purchase requirement.
In certain states, restrictions apply. There are a handful of states where fee-based skill contests present an issue. In these cases, they must be voided, registered and/or limited depending on the nature of the skill and the advertising used to promote the contest.