Yes, they have the right to - but it does not mean they will. That means the GoR only exists, as of now, through 2027.
Also, the ACC went against the conference bylaws in signing this contract with ESPN. According to conference bylaws, each school must vote to extend the ESPN agreement. That is a legal loophole right there. The schools did not vote on this. ACC conference bylaws were broken in this contract.