Well it removes the problem entirely from the software domain. If it’s a single purpose imaging device with a fixed geometry like OP suggested, it’s the natural solution.
You could also just use the corners to compute the homograph transform.
Really depends on the constraints too. If you're going for archival quality scans then maybe it would be better to do it with hardware. At that point I'd just get a way higher res camera than needed, transform and down sample as needed. Would still probably be cheaper than a gimbal.