Not exactly. I'm not going to go too much into the distinction between the PKK and the YPG, but they are not the same organization. The correction I want to make is to note that the official ideology of the YPG is [Democratic Confederalism][0]. It is a form of libertarian socialism, strongly influenced by the ideas of Murray Bookchin.
A brief quote from the Wikipedia article:
Democratic confederalism is a "system of popularly elected administrative councils, allowing local communities to exercise autonomous control over their assets, while linking to other communities via a network of confederal councils." Decisions are made by communes in each neighborhood, village, or city. All are welcome to partake in the communal councils, but political participation is not mandated. There is no private property, but rather “ownership by use, which grants individuals usage rights to the buildings, land, and infrastructure, but not the right to sell and buy on the market or convert them private enterprises.” The economy is in the hands of the communal councils, and is thus (in the words of Bookchin) ‘neither collectivised nor privatised, it is common.’ Feminism, ecology and direct democracy are essential in democratic confederalism.
[0]: https://en.wikipedia.org/wiki/Abdullah_%C3%96calan#Democrati...