yes, you can. dissolve the harmine hcl in warm water and add dilute ammonia or just ammonia drop-wise until precipitation is complete.wash precipitates from excess ammonia with water like in this tek here, posted in the harmala section :
caapi alkaloids extraction and separationread the wiki, than read the wiki some more, and more...