Hello Sergii Machulin,
Thank you for reaching out to Microsoft Support!
After a lookup, the Graph API provides the following methods only support windows10EnrollmentCompletionPageConfiguration
There does not appear to be a way to assign a group to a Windows 10 Enrollment Completion Page Configuration, and you can suggest your requirements for this feature here.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.