Theoretically yes (the M1 Mac Mini supports two external) but it's unknown whether the capability to disable the built in display is actually exposed.
You can disable the built in display on (some?) Intel MBPs via `sudo nvram boot-args="niog=1"` according to another poster. Whether this is supported on M1's remains to be seen.