That’s not a “republican form of government”. The Constitution, by inference, requires the feds to prevent states from adopting a socialist form of government.
I’ve often questioned public schools which are a form of socialism.