The HOA has the right (and the obligation) to enforce the HOA rules. The eviction moratorium is generally misunderstood to prevent all evictions, but that is not true. The moratorium only prevents (most) evictions when the reason for the eviction is failure to pay rent.