Incase anyone ever needs the answer…I have a 27” 2010 iMac working in Target Display Mode with a M1 MacBook Pro using a miniDP to USB C adaptor that's capable of 4k60Hz.
Old iMac as a monitor - instructions for screen synchro »Sir Apfelot
Use iMac as an external display for a Macbook | Tutonaut.de