I can only speak of for AEM :-)
Technically you should be able to do it, although I am not sure if there's an "offical" REST API to do that (in that case it shouldn't be hard to write it yourself).
But I am very hesitant to recommend it to you; because if you add for each user a dedicated ACL to individual pages, you'll end up in lots of ACLs (with a performance impact!), and the whole setup will get unmanageable from an ACL perspective. It's easy to allow certain users to view certain pages, but what do you do if you need to remove these permissions? Or review them? And in any case, are you talking about your frontend (a.k.a publish instances) or authoring? In case of publish, you should apply the ACLs to all of them.
From an AEM product point of view, Closed User Groups is the feature you are should use. You should really try to match your usecase to it, because everything more granular is likely to cause additional effort on implementation of a solution and maintenance of ACLs and permissions.
Jörg