Yes it can!
You ever excellent free softwares like ever notes. Loads of cheap/free office softwares and if all that isn't enough for £6.99 you can buy Pages/Numbers/Keynote, Apple's versions of Word/Excel/Powerpoint respectively.
Apple's softwares sync to the cloud, Evernote is also very good at syncing your documents to other machines!