They do, actually.
For example the French government has its own Matrix platform https://www.tchap.gouv.fr/ and its own Mastodon instance https://social.numerique.gouv.fr/.