Not only could you that, you could also have program running on the disk drive send a text file to the printer. so you could print without the computer if you could write the small 6502 program you needed to install into the disk drive.
Imagine I want to select data from a Parquet file and I could load a program into the storage device to only return me the entities I want instead of reading data into main memory and have my CPU do that?