Hosting Server RAM Question

Would it be possible to allocate more RAM towards a server you are running on your own PC? Just to help with friends download speeds and such.