This was already possible in Safari on macOS Big Sur. iOS 15 carries the same wallpaper customization trick to the iPhone as well. Open Safari on the iPhone and scroll down to the bottom. Select Edit, and you can pick a relevant wallpaper from the Background Image menu. One can also go ahead and add wallpaper from the gallery on the iPhone.