Thank you for the question.
No, pharmacists are not compensated by a pharma company for dispensing brand name medication. They're required to dispense the lowest-cost drug for a specific molecule. That's part of their code of ethics.
As to the second part of your question, this will not change with a national pharmacare plan.