Can be used
The Mi 18W charger can charge the iphone, but it is not recommended.
But relatively can not reach the rated voltage, for the battery is also harmful, it is best to use the original charger.
As long as the charging head supports the pd protocol, the charging line supports fast charging, preferably an mfi certified line, and fast charging can be achieved.