Yes, a clean rebuild is the correct path when you want the Mac returned to a fresh baseline. This is useful for recovering from a broken setup, rotating to a new project, or clearing a system before starting over.
Before requesting a rebuild, make sure any important files, repositories, keys, or local configuration have been backed up.
A clean rebuild is effective because it removes old state, but that same strength is why it should be treated carefully.