No. Sage does not work on ghosts the way garlic does vampires. Saging your house can get rid of leftover negative or "crusty" energy, but it will not deter any active entity (spirits or ghosts) that may have taken up residence. Sage is incredibly helpful when it comes to cleansing your home (or person) of residual energy, and I highly recommend using it when you move into a new space, after an argument, after a paranormal investigation, or anytime you walk through the front door and the air feels "heavy". Any persistent active paranormal entity that you want to get rid of must, however, be confronted and dealt with directly, either by you yourself or a professional medium. In some cases you can set your foot down (tell them in no uncertain terms to GTFO) and banish an unwelcome entity on your own, but most of the time a medium is required to get the job done. This is especially true if the paranormal activity around your house has been interfering with you and/or your family's ability to rest and relax for an extended amount of time.
For more information on ghosts and other paranormal phenomena, click here: https://bethparkermedium.blogspot.com/2020/11/spirits-ghosts-other-phenomena.html