Yes, this is easily done by creating your custom permission group in SharePoint Online. Then adding a new SharePoint security group that uses the permission set that you recently created. When that is done, add the right members or group to the recent created SharePoint Group and it should work as expected.
Yours sincerely, Aref Halmstrand
best response confirmed by
jwa33 (Occasional Contributor)