Some docks and adapters allow the SuperDrive to work, but it might be cheaper to just buy an up-to-date CD/DVD drive.
Glenn Fleishman ’s most recent books include Take Control of iOS & iPadOS Privacy and Security, Second Edition (covering iOS 15/iPadOS 15), Take Control of Your M-Series Mac, and Take Control of Securing Your Mac.