Can we use an Android phone as a Wi-Fi repeater?
No. To do this would broadly speaking require multiple Wifi interfaces (or specialized software) which is not readily available (or easily installable) on Android.

In general this is done on Linux using something like hostapd in master mode: I don't believe that is easily setup on any Android phone.