Restoring a device on the current version of iOs 27 is not harmful in any way.
There is no functional difference in restoring a device on iOs 27.0 to one running iOS 27.1 or 27.3.
The restore works exactly the same and the apps don't really have any issue, since they will get re-downloaded and re-installed from the App Store when you restore the device and will work exactly the same way they did before the restore.
Restoring it won't change the iOS version it is running in any way if that's what you are thinking.
You can update directly or update during the restore to the iOS 27, and the result should be prettymuch the same.
Updating through the restore process would yield a cleaner Os since it won't have any lingering parts of the previous OS.