VikingOSX wrote:
From El Capitan (10.11.*) through Sequoia v15.*. See Create a bootable installer for macOS - Apple Support
FYI, actually the macOS 10.10 Yosemite installer should be able to do so as well (at least it used to be able). While Apple no longer shows this within the linked article, if you modify the macOS 10.11 El Capitan instructions to replace "El Capitan" with "Yosemite", then it should work. I don't know why Apple removed that from the linked article (it used to be there some years ago).
I don't recall about any of the older installers since I never made bootable USB installers with them that I can recall. If the "createinstallmedia" utility is within the installer, then there may be a chance they can do it as well. I don't recall when Apple first introduced the ability to officially create the macOS USB installers, but it is possible it could have been added later when Apple modified the installers a while back. I believe there were other methods back in the day to make a bootable macOS USB installer, but those older methods may no longer work with the current version of the installers since Apple has modified some of them over the years (I know this occurred with El Capitan).