Yes, this is something which the latest Pi 4 model B should be able to handle, although your resolution and framerate may be low.
The web page for the motion camera controller project says:
USB cameras take a lot of bandwidth. A USB camera connected to a USB2
port or hub consumes virtually all the bandwidth that the port can
handle. Even with a small framesize and low framerate you should not
expect to have more than one camera per USB controller.
All Raspberry Pi devices before the Pi 4 only contain USB2 hubs, so will not work with four cameras.
The Pi 4 has two USB3 ports connected via fast PCIe, so it would be possible, with the addition of a USB3 hub, to connect four cameras to a Pi 4 for this application.
The perspective transformation is going to be fairly CPU-heavy. The quad-core BCM2711 in the Pi 4 model B will likely handle it at low resolution and low framerate, but you're going to have to try it to find out if it will be acceptable.