AWS Private endpoints and MongoDB projects and clusters

I have a project A having cluster X and Y with private endpoint P for connectivity from our AWS EKS application cluster. Now can I have two projects A and B having cluster X and Y in them respectively with private endpoint P for connectivity from our AWS EKS application cluster.