@burgerbecky best solution i've come across is using an M.2 to IDE converter, worked well for my iBook G4
@burgerbecky i bought mine from AliExpress, but you should be able to find the same thing on eBay or Amazon if you want. they're all pretty generic: https://www.aliexpress.com/item/1005005761995669.html
@burgerbecky oh and just to make sure, these converters all work with M.2 SATA, not NVMe. a little harder to find outside of China these days as it's a bit outdated. this is my recommended store to get them from, the GUDGA brand seems most reliable https://aliexpress.com/store/3719015