Renewable energy communities’ benefits from total energy self-consumption in the form of economic incentives to the community members. However, load profiles for prosumers can be irregular especially in presence of distributed PV generation and household entities. If different renewable energy communities exist in the same area, optimal allocation of the prosumers in the communities can be a valuable asset to maximize self-consumption by exploiting complementary production and consumption profiles. In this work, this problem is solved by means of a metaheuristic pareto optimization algorithm, investigating the optimal number of communities given a set of prosumers based on their allocation for both maximum and most uniform economic revenue.