This should be fine. We don't encourage replacing roles or people with AI though so if it's clear it is AI replacing a role it's against the spirit of the rule.