Only if your bootloader is still on version 1 or 2. For most 2022-updated devices (binary 3 or higher), no.
: Go to Settings > Software Update > Download and Install.
If you legitimately own the Samsung device but forgot your Google credentials:
These tools are widely used by the community for "one-click" FRP removal on models supporting the test code. SamFw FRP Tool