And I think years back you used to be able to do it from iTunes when the phone was connected with a wire. It disappeared over the years probably when they moved to Finder, but I think maybe even earlier.
You can do it with Apple Configurator, and there's a command line tool to apply a JSON layout.
It used to be possible with iTunes, but they removed that feature in 12.7.
I thought that was available via iTunes on Windows?