block by ASN could be done manually on a FortiGate by creating an address object for the ASN and then denying traffic from the object. If you had a list you wanted to use instead, an external fabric connector would do the trick:
https://docs.fortinet.com/document/fortigate/7.0.2/administration-guide/891236/external-blocklist-policy