Technically your package managers already do this, but their two main faults are a) they aren't standardized and every distro has their own package manager that basically does the same thing, which also mean that when you pull an offline installer package it can only be used with that package manager and b) they default to centralized online-only form of software distribution. This is one of the main pain points of Linux, it rejected any sane forms of offline software distribution (besides AppImages), while this has been the go-to format since MS-DOS days, as offline software distribution was the only form of software distribution before the Internet was even a thing. Windows runs off of this MS-DOS legacy, but since Linux became a thing in the era of the Internet, it didn't really develop a sane standard for offline software distribution, everyone does their own thing and it causes headaches for software developers and users, which creates a choke point for Linux software availability that even Linus Torvalds pointed out. Even he doesn't bother with compiling his software for Linux because the software distribution systems are so fractured.