Not necessarily. Some discussions[1] of potential mechanism focuses on hydroxychloroquine working as an ionophore to drive zinc into cells - so this potentially only works when given in conjunction with zinc. There are a few studies that suggest it is effective used that way. Whether those results hold up over time is an open question.
[1] (video) https://fast.wistia.net/embed/medias/td0v8taipc