Yes, as long as the HOA covenants were recorded in the land records prior to the purchase of the property and as long as the HOA follows the proper legal procedure. You should review the document...
I suggest you retain an attorney, but you don't have to. Then, sue for foreclosure of the assessment lien. The lawsuit should be filed in a court of general jurisdiction in the county where you live....