Then check out https://joinmastodon.org/ you can either host it yourself or join someone else's server where you can either pay/donate or just use it for free.
But what you're looking for sounds mostly like Diaspora, which is quite old, it's from back in the Google+ days, and never really took off.