Yes, but you'd probably have to write your own COM object or ISAPI DLL to handle it and it would destroy performance on your web application.
In theory, though, you could write an object that encrypts local files (or database "files"), perhaps with a different extension, like .ase...