Yes, it can be done .
Quote from the docs:
While relationships always have a direction, you can ignore where this is not useful in your application.
Note that a node can have relationships to itself as well
You can create this relationship just like any other.
CREATE (p:Person { name: "Sam" }); MATCH (p:Person { name: "Sam" }) MERGE (p)-[:knows]->(p);
Although, for obvious reasons, the orientation of the relationship becomes less interesting if you point the node at yourself because there is no difference between the head and tail.
source share