There is any way to get a custom report filtered by AS number?
Or to view the flows by AS number?
No there is no option in custom reports to filter by AS numbers or to view AS numbers in custom reports.
Below is the link to the documentation about Custom Report filters:
The report types documentation is below: