Sure; HCQ is effective against some strains of malaria, and if you're going to a region where the strain isn't vulnerable to anything else, or if there are contraindications for everything else, or if you're in a health system where the cost is relevant, the doctor may prescribe you HCQ, after warning you about it. Its side effects are generally safer than having malaria. Of course, lots of things are safer than having malaria, so this is hardly a great endorsement.