Depends on the type of forwarding configured. Generally speaking, the Graph API does not cover any Exchange admin operations, so the "standard" forwarding configuration cannot be changed. If the user has configured forwarding via a rule though, you can manage this.
Still, to cover and manage all the possible methods, the only programmatic solution is via the Exchange Online PowerShell module.