That's pretty much what self hosting is. You can get more complex if you really want to, but it's traditionally where old household computers go to live out their autumn years.
As far as getting the content? I have a feeling the wiki in the sidebar could give you a torrent of answers