Not that I know of. Only workaround I can think of is if your data is in bigquery, you can union all both prod and test datasets, then use a parameter to filter for one dataset. The query will process both datasets though initially which isn’t ideal.
I think it would be better to have a seperate report for each dataset though personally.