Hi there
In a word yes.
You can save photos, videos and documents (these use the most space) to Google One simply by backing up your device.
Once back up is complete, you can then delete some / all of those files from your device, keeping them in Google One and freeing up space on your device.
S24 Ultra