Yes, USB flash drives can be used to install operating systems. Many operating systems offer the option to create a bootable USB flash drive, which allows you to install the operating system on a new computer or perform a clean installation on an existing computer. Refer to the specific operating system's documentation for instructions on creating a bootable USB flash drive.