Samsung Galaxy S23 can get One UI 7 by following the steps given here. This is the official One UI 7 beta zips provided by Samsung itself. These are meant for all S23 variants including the S23+ and S23 Ultra.

You would require a windows computer to do download and flash One UI 7.
- Download ADB for Android from here and install it on your computer.
- Copy file to S23’s phone storage
- Boot into recovery
- Scroll to apply update.zip
- Launch ADB commands from ADB Driver folder
- write the following:
ADB devices
ADB sideload FILENAME.zip
Since you are flashing official Samsung ZIP files, you would not loose warranty as well, in case your S23 / S23+ / S23 ultra is still under one. You also do not need to flash the custom TWRP in order to follow aforementioned steps.
And that is it – you have successfully downloaded and flashing One UI 7 onto your S23.