Yes it can. Parliament is sovereign: it can overrule anything it likes with legislation. There is no higher authority than parliament in the UK, not even the Supreme Court.
Also, the High Court didn't rule it unconsitutional, it ruled it contrary to common law. The UK is not the US.
The executive (Cabinet etc) cannot simply ignore the ruling, but they might be able to get legislation through Parliament to explicitly allow general warrants.
https://www.bailii.org/ew/cases/EWHC/Admin/2021/27.html
> That principle means that the courts will, when interpreting the provisions of a statute, presume that Parliament did not intend to legislate in a manner which overrides fundamental common law rights. The common law has an aversion to general warrants that leave significant matters of judgment and discretion to the person executing the warrant rather than to the person legally or constitutionally responsible for issuing it.
> In view of the importance of the constitutional principle that there can be no interference with property without clear and specific legal authorisation, the words of an enactment must be unambiguous before the court may interpret Parliament as intending to override rights. There are no such unambiguous words in section 5. The national security context makes no difference as otherwise the courts would sanction wide powers to override fundamental rights.