On macOS you can always run things in a VirtualBox VM if you're only concerned about Docker Desktop, not Docker itself.
Here's a convenient installer for that: https://github.com/dziemba/mobymac
It does however have some rather annoying limitations. Also no Apple Silicon support.