There is no law against a pharmacy owner from charging whatever they want.
However, most pharmacies enter into contracts with various groups, such as the government, insurance companies, etc so that they effectively give away their right to charge what they want.
However, most pharmacies enter into contracts with various groups, such as the government, insurance companies, etc so that they effectively give away their right to charge what they want.