If you are asking if you can delete the previous Install macOS Big Sur app, the answer is yes. Drag it to the Trash, empty the Trash, and then determine if you can download and install the newer Install macOS Ventura app.
It may be necessary to wait a while before the Finder allocates sufficient free space so that the installer has sufficient room to work. "A while" can be as much as a day.
For reference: Free up storage space - Apple Support.
If your Mac's storage space is really low, there are workarounds, but everything begins with Back up your files with Time Machine on Mac - Apple Support, so if you don't have a Time Machine backup, create one. That should just go without saying anyway.