I'm not sure how to test this myself so maybe someone already knows the answer..
/forceload command generate new chunks?
If so, I can then use
/forceload to pre-generate the Minecraft world instead of teleporting players around..
This would be useful for pre-generating UHC maps.
Note: You cannot use this command in command blocks. You'd need to write a plugin for your server or write a script that sends commands to your server.
Edit: If anyone has come here to find a script to generate chunks, check out https://github.com/davidcallanan/mc-world-pregenerator