Is it possible to create test available for self-enrollment with restricted access?

To allow only specific users to self-enroll into a test, create a self-enrollment session and assign a group of candidates to it. Only users from the group and users subsequently added to it will be able to access the test.

For more information on scheduling tests, you can check this video. Also, for instructions on how to create user groups, please check this link.