MultiPicture Live Wallpaper is an older app (last updated in 2013). However, it's still one of the best free options available to do this. It works on most devices, including those running Android 12. However, there is a note in the app description that it may not work at all on Galaxy devices.
While there is a premium version with additional features, try the free one first to ensure it works on your device. Some Galaxy users have reported the free version worked, but the premium didn't.