Short answer. Not through the execution sale alone. The officer gives possession to the purchaser or last redemptioner unless a third party is actually holding the property adversely to the judgment obligor. If you hold in your own right, the buyer must proceed against you separately.
What the law says
The possession of the property shall be given to the purchaser or last redemptioner by the same officer unless a third party is actually holding the property adversely to the judgment obligor.
Rule 39, Section 33 — Deed and possession to be given at expiration of redemption period; by whom executed or given. Read the full provision →
The exception is built into the rule itself
When the redemption period expires the purchaser is entitled to a conveyance and possession, and the same officer who conducted the sale is the one who delivers it. The rule then carves out a single exception in the same sentence: possession is given unless a third party is actually holding the property adversely to the judgment obligor. That exception is not a favour and does not depend on the buyer's agreement. It is a limit on what the officer may do, which is exactly why it protects an occupant who was not the losing party in the case.
What holding adversely means
The phrase is doing precise work. Holding adversely means holding in your own right, not under or through the judgment debtor. An occupant who claims as owner, or under a title of their own, holds adversely. Someone who is on the property only because the judgment debtor allowed it, such as a member of the debtor's household or a caretaker, generally holds under the debtor rather than against them, and stands in a far weaker position. The character of your possession, rather than the bare fact of it, is what decides this.
What the buyer has to do instead
Where the exception applies the buyer is not left without a remedy. They are put to the ordinary route of a separate action in which your claim can actually be heard, instead of being handed possession through the machinery of someone else's case. The important consequence for you is that you get a proceeding in which you are a party. Being removed by an officer executing a judgment in a case you never took part in is precisely what the exception prevents.
What this does not decide
The exception governs how possession may be taken, not who ultimately owns the property. On expiration of the right of redemption the purchaser is substituted to and acquires all the rights, title, interest and claim of the judgment obligor as of the time of the levy. If your claim turns out to be weaker than the debtor's was, you may still lose in the separate proceeding. The rule buys you a hearing, which is worth a great deal, but it is not a determination that your title is good.