You could in actual MS/PC/DR-DOS. It was Windows NT that introduced this prohibition, that was also in OS/2 before it. Also, CD A: did not change the current drive letter.
Yeah you’re right it would just be A: to switch the drive… it’s been many many years… but I am sure that you couldn’t format the disk from within it on MS-DOS 5.0 and 6.22 (except maybe with some undocumented switch) because I remember struggling with that problem back in the hiatus summer of ‘92 when I revamping my very mediocre 386SX-16 for the newfangled Windows 3.1.
The rules were different when add-ons like SMARTDRV or Super PC-Kwik were installed, and in a VDM inside 386 Enhanced Mode DOS+Windows. But vanilla MS/PC/DR-DOS originally just calmly let one format the disc out from underneath onesself.