Yes, users can delete their own questions and answers on Stack Overflow, but there are some important considerations to keep in mind. When a user decides to delete their question, it is usually allowed unless there are answers that have been provided. In such cases, the question may remain visible to maintain the context of the answers posted.
For answers, users can delete them at any time, but again, if an answer has received upvotes or if it has been accepted as the best answer, it may be considered more appropriate to leave it in place. Deleting contributions should be viewed as a last resort. It is often valuable to the community to keep questions and answers available for reference.
For specific guidelines regarding deletion, users may want to refer to the help section on the Stack Overflow website for further information.