
There are bound to be some errors along the way in doing this (because there always are), but the way that worked for me was to use a bootable flash drive installer and run an exe called ‘installprep.exe’ or some similar executable (just search for 'prep' and find an exe that looks similar to that and run it). You can either use the media creation tool to upgrade the OS, or you can run the setup from a bootable Windows 10 install drive. Step four: Upgrade in place to Windows 10. Windows will now boot and run off the basic display adapter. Once you’re in, go to device manager and disable the graphics driver, then restart. Once Windows 7 crashes, and the computer restarts, Windows will prompt you to select how to boot after the crash. This is an error that has to do with the 6000 series AMD graphics in this, and other 2011 Macs (The same issue has been reported on 2011 MacBook Pros with AMD graphics). Either way, this is going to happen: Once you install everything and reboot, Windows 7 is going to keep crashing all the time.

You can do this manually through the files on the bootcamp flash drive, or you can run the setup.exe. Step three: Once you get into Windows 7, you want to install the drivers. Erase and format the partition from the tool in the Windows 7 installer, and it will let you proceed to install Win 7. You’ll get an error saying that the partition can’t be used. As often happens when installing bootcamp, the partition that macOS created (called BOOTCAMP) probably won’t work. Next grab your empty flash drive for the bootcamp files, and proceed to install Windows 7 as normal. Step two: Bootcamp on this Mac doesn’t allow you to install Windows 7 from a USB drive, so you need to burn a Windows 7 DVD and use it for the installation (this can be done through macOS rather easily so you don't need another computer). You can put whatever drive configuration you want, but leave the optical drive in because you’ll need it.

You want to keep the OG graphics, optical drive, etc. Step one: Leave everything stock except storage. To get Windows 10 installed on a 2011 iMac with audio here is what you have to do:

I tried manual driver installation, resetting, going to previous versions, etc. However, for some idiotic reason EFI Windows 10 on this iMac does not allow for audio drivers to work correctly. This works fine without using bootcamp, just install to a partition on an internal drive and it will install. First a few things you should know: When you create a Windows 10 install USB, the iMac will boot and install Windows 10 in EFI mode. Windows 10 on 2011 iMacs is a fickle beast, it is very tricky to get everything running on this device as Bootcamp does not support running Windows 10 on this iMac.
