Writs are not a substitute for an appeal. The chambers will say so if the proper remedy is elsewhere.
Where a public authority has failed a statutory duty, or a criminal investigation has gone off the rails, a writ is drafted to the precise relief the Court can grant.
General information under Indian law. Not an opinion, not a retainer, not a substitute for a conference on your papers.