Stateless, it isn’t - Federation is actually a state, obviously for the reason that in universe where Klingon Empire, Cardassian Union, Romulan Star Empire, Ferengi Alliance or Borg Collective exist, state is necessary.
I feel like the Federation could be considered stateless considering there are no class distinctions and therefore there’s no use of a state, who’s job is to oppress the non-ruling class for the ruling class.
For sure, but as we know, government =/= state. There is a still a need for administration/government in a communist society.