It seems, that there is an in-built functionality to perform this action in MS Fabric: https://powerbi.microsoft.com/en-us/blog/dynamic-subscriptions-for-paginated-reports-preview/
Otherwise, you could implement it yourself using the Power BI REST API like here.