They sort of did this with BASIC 4.0 and later for Commodores. We had CATALOG for listing files, SCRATCH for deleting them, HEADER for formatting and so forth. These were standard BASIC commands, and could be used in programs as well as directly.
Yup, this basically what you booted into on a C64 for example.
Apple also did this with Apple II DOS and ProDOS. There was "cat", "catalog", "rename, "delete", etc. available from the BASIC prompt.