Creating Multifactor Enrollment (Policy and Rule)

Hi,

Is there a way to manage Security → Multifactor → Factor Enrollment → Add Multifactor Policy
via java SDK/ API for a group (not a single user, but all users belonging to a group)?

Please suggest alternatives if any.

Thanks!