One could hire a software developer to write such a program. But, in general, software developers can be untrustworthy and prone to stealing ideas for their own selfish purposes.
Before Mark Zuckerberg dropped out of college, he answered a classified ad from someone in the real world^1 who wanted to create a website that could search a database of images. Nothing to do with "social media". IIRC the target market was the auto insurance industry (I could be wrong).
1. Not Winklevoss brothers. That is another story.
Zuckerberg never finished the job but he did create his own website which searched and served up images of students at Harvard. He was of course sued by this person after Facebook became popular.