Congress can actually legislate the right of agencies to interpret the gaps in the laws back into effect - by passing a law that explicitly gives agencies this power. Just like congress can legislate abortion laws rather than leaving it to judicial precedence. Fundamentally there’s nothing wrong with the position of supreme court to push the responsibility of lawmaking back on congress.
Congress has already done that. Conservatives don't like that, calling the result the "administrative state". A very strict interpretation of the constitution could suggest that Congress cannot actually delegate legislative powers to executive branch agencies, and the conservative members of SCOTUS are (unfortunately) free to take up that interpretation.