There are many alternatives with their own pros and cons.
The most control you can get is hosting services yourself, which is much easier and cheaper than people realise as there are "managed hosting" companies that do all the hosting and techy stuff for you. I've done a site about this option at https://growyourown.services
Nextcloud is maybe the best all-purpose option for organisations, I did a step-by-step guide at https://growyourown.services/beginners-guide-to-nextcloud/