You can make use of the amphoteric character of nitrogen containing compounds to extract your alkaloids. Please follow this link: https://erowid.org/archive/rhodium/chemistry/alkastract.html
I will advice you to make an assay with a minute amount of extract first, you monitor with TLC, reveal with draggendorf reagent for example, but not all alkaloids are seen with this reagent. The assay actually help you to master the skill and also you can find the best acid, its concentration and organic solvent for the highest extraction of total alkaloid.