Not sure about natively pulling from Apple, but you could try to generate that playlist on YouTube and then use yt-dlp to rip them.
It works well but you need to check carefully because some YT matches can be bad and have shitty quality or be mislabelled. If it’s a big effort to do manually you could run it through MusicBrainz Picard after the fact and let it flag the ones it can’t match by sonic fingerprint.