Short answer. Yes. Rule 39, Section 27 allows redemption by a creditor having a lien by virtue of an attachment, judgment, or mortgage on the property sold, subsequent to the lien under which the property was sold, calling such a person a redemptioner. A second mortgagee with a later lien fits this category.
What the law says
A creditor having a lien by virtue of an attachment, judgment or mortgage on the property sold, or on some part thereof, subsequent to the lien under which the property was sold. Such redeeming creditor is termed a redemptioner
Rule 39, Section 27 — Who may redeem real property so sold. Read the full provision →
What the law says
The judgment obligor, or his successor in interest in the whole or any part of the property
Rule 39, Section 27 — Who may redeem real property so sold. Read the full provision →
What Rule 39, Section 27 provides
Rule 39, Section 27 names two categories of people who may redeem: "Real property sold as provided in the last preceding section, or any part thereof sold separately, may be redeemed in the manner hereinafter provided, by the following persons: (a) The judgment obligor, or his successor in interest in the whole or any part of the property; (b) A creditor having a lien by virtue of an attachment, judgment or mortgage on the property sold, or on some part thereof, subsequent to the lien under which the property was sold. Such redeeming creditor is termed a redemptioner."
The redemptioner category, specifically
Category (b) is the one that answers your question: "A creditor having a lien by virtue of an attachment, judgment or mortgage on the property sold, or on some part thereof, subsequent to the lien under which the property was sold." The article gives this category its own name — a redemptioner — distinct from the judgment obligor named in category (a). A second mortgagee is exactly the kind of creditor with a mortgage lien this category describes.
You don't need to be the judgment obligor
Category (a) covers "the judgment obligor, or his successor in interest" — a different person entirely from a redemptioner under category (b). The two categories are independent grounds for redemption, joined by the structure of the list rather than by any requirement that a redeeming creditor also be, or stand in the shoes of, the judgment obligor. As a second mortgagee, you would be exercising the redemptioner right in category (b), not the judgment obligor's right in category (a).
The condition your lien has to satisfy
Category (b) requires your lien to be "subsequent to the lien under which the property was sold." Your second mortgage needs to have been junior in priority to the earlier lien that was actually the basis for the execution sale — not simply later mortgage on the property in some general sense, but specifically later than the very lien the sale enforced. Whether your mortgage meets that timing condition is a factual question about the order in which the liens on this property attached.