Yes. However, Parliament has the right to legislate on such matters. There could be a statutory basis for a maximum length of prorogation. There could be a statutory change to the legal basis for prorogation.
The point is that it should be a political matter, not a matter for the courts. If Parliament feels strongly enough about it, it should introduce legislation limiting the executive’s power to prorogue Parliament.