Macbooks/iMacs are capable of running Windows 10/11 using BootCamp, however the drivers for the sound chip are not always installed along with a Windows Operating System. Cirrus Logic chips are the most common audio chips used in Macbooks, and depending on what the chip is you will need the correct driver of that chip as they are not all the same. The most common chips are CS4206 and CS4208. The drivers for CS4208 are on this page Cirrus Logic CS4208 Driver. Note the CS4207 is included with the CS4206 driver. Driver will also enable sound on 64bit versions of Windows back to Windows Vista.