Do a male green anole suppose to bite female on neck when mating?

Yes - it's part of the 'courtship' ritual.