AFAUI that setup is not possible with an M1 Mac today. You can only use one external display.
To clarify the M1 Macs, not Pro, Max, or Ultra can only support one external display. This also seems to be the case with the non-Pro/Max/Ultra M2 macs.
The parent comment: “Maybe by next decade, all the MacBook "pro" models will support more than one external display.”
The 13” M1/M2 MBP is the only one that doesn’t support more than one external display.