Exporter.app might help you. https://apps.apple.com/nz/app/exporter/id1099120373?mt=12
I never really made notes on my phone, and I like being able to stay in my text editor (acme) on macOS.
For me, the presentation and structure around this workflow is what's too complicated. To adopt do something similar on macOS, I'd just:
> % echo 'notes () { acme-open ~/iCloud\ Drive/notes/$(date +%Y-%m-%d).md }' >> ~/.zshrc
This would give me a function to create a new, dated notes doc and open with my editor anywhere from the terminal. And then I'd just use standard tools for searching, instead of using a script.
(FYI: acme-open is my wrapper to acme, and I keep a link to the actual iCloud Drive directory in my home folder.)
There are iOS shortcuts now which can let you do this programmatically, but you also lose formatting, and its a hack.