Certainly. And it should be just as fair to allow parallel imports of everything. Want to charge more than [retail price B + transport cost B->A + import tax A]? Guess what, the market is going to take care of this for you.
See the import tax that I included in the calculation? IMO this should be the way to solve this from a humanitarian standpoint. If a government wants to solve medical issues of poor countries, it can work together with drug corporations, dictate the price points (i.e. manufacturing+logistics without R&D) for offering these supplies and then protect the own market through import taxes on these products. But the point here is: It needs to be a transparent, i.e. democratic, process. The way it works now is just shady and anti free market.