HOA are not in Canada.
Closest we have is strata when an apartment or condo is owned by all the owners having a share.
You have yearly vote for who sits on council, and bylaws can be changed by voting. The Strata does not have to approve your purchase into the unit like HOAs do to restrict the type of person who can own.