That is an intriguing proposition. In Star Trek there seems to be no reference of currency or money so it seems that people who work are provided for. I am not sure it would work in reality. Capitalism is too much a part of the fabric of life in our world that some would revolt if such an idea were proposed to live without money. Economic systems would have to be completely changed to make it work. There are many details that would have to be worked out and allow the people to adopt or reject such a paradigm.