No, this is not possible within Neo4j-OGM. But it is also not possible to do this in Neo4j.
You would have to enforce the rule by calling a query upfront the persistence to know about the potential existence of another node with the same name in the sub-group.