I would ask yourself if you enjoy writing software, and consider trying different SWE jobs and areas if you do. To me, it seems like you're struggling because of your workplace conditions. There are many, many SWE jobs out there (all sorts of industries need to write software!), and even SWE is a very broad term. For example, you might hate webdev but end up really enjoying writing database software or mobile apps or whatever else. If on-call and deployments are stressing you out, there is software out there with longer release cycles that doesn't require on-call at all.
The start of your career can be tough, as you don't have much experience, but it's also a good time to explore and try different options. Don't let one bad workplace define your entire career!
That said, it's also totally fine if SWE is just not a good fit for you. There is a lot of process around planning, code reviews, git, etc. that is separate from the act of coding itself. If you want to keep coding, there are plenty of areas and industries that still need to write code. If you want to switch careers but stay tech adjacent, there are some broader options too, like IT and sales engineer.
The start of your career can be tough, as you don't have much experience, but it's also a good time to explore and try different options. Don't let one bad workplace define your entire career!
That said, it's also totally fine if SWE is just not a good fit for you. There is a lot of process around planning, code reviews, git, etc. that is separate from the act of coding itself. If you want to keep coding, there are plenty of areas and industries that still need to write code. If you want to switch careers but stay tech adjacent, there are some broader options too, like IT and sales engineer.